mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
Version Bump workflow - Fix location of AndroidManifest.xml file (#2998)
This commit is contained in:
parent
333917c00d
commit
bd03b6b5aa
1 changed files with 6 additions and 8 deletions
14
.github/workflows/version-bump.yml
vendored
14
.github/workflows/version-bump.yml
vendored
|
@ -196,18 +196,16 @@ jobs:
|
|||
env:
|
||||
NEW_VERSION: ${{ inputs.version_number }}
|
||||
run: |
|
||||
CURRENT_VERSION=$(xmllint --xpath '
|
||||
string(/manifest/@*[local-name()="versionName"
|
||||
and namespace-uri()="http://schemas.android.com/apk/res/android"])
|
||||
' src/Android/Properties/AndroidManifest.xml)
|
||||
|
||||
# Wait for version to change.
|
||||
while [[ "$NEW_VERSION" != "$CURRENT_VERSION" ]]
|
||||
do
|
||||
echo "Waiting for version to be updated..."
|
||||
sleep 10
|
||||
git pull --force
|
||||
done
|
||||
CURRENT_VERSION=$(xmllint --xpath '
|
||||
string(/manifest/@*[local-name()="versionName"
|
||||
and namespace-uri()="http://schemas.android.com/apk/res/android"])
|
||||
' src/App/Platforms/Android/AndroidManifest.xml)
|
||||
sleep 10
|
||||
done while [[ "$NEW_VERSION" != "$CURRENT_VERSION" ]]
|
||||
|
||||
- name: Cut RC branch
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue