diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index bb24c76e2..ff5d60dba 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -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: |