mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 02:48:29 +03:00
Updated Sed expression for Android manifests (#1763)
This commit is contained in:
parent
15db96b06c
commit
9eed421c67
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- name: Retrieve Mobile release version
|
- name: Retrieve Mobile release version
|
||||||
id: retrieve-mobile-version
|
id: retrieve-mobile-version
|
||||||
run: |
|
run: |
|
||||||
ver=$(sed -n -e '/android:versionName/ s/.*\= *//p' ./src/Android/Properties/AndroidManifest.xml | tr -d '"')
|
ver=$(sed -E -n '/^<manifest/s/^.*[ ]android:versionName="([^"]+)".*$/\1/p' ./src/Android/Properties/AndroidManifest.xml | tr -d '"')
|
||||||
echo "::set-output name=mobile_version::${ver}"
|
echo "::set-output name=mobile_version::${ver}"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue