Browse Source

Fix while loop logic (#447)

pull/448/head
Vince Grassia 2 years ago committed by GitHub
parent
commit
930f8c84d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      .github/workflows/version-bump.yml

8
.github/workflows/version-bump.yml

@ -167,15 +167,13 @@ jobs: @@ -167,15 +167,13 @@ jobs:
env:
NEW_VERSION: ${{ inputs.version_number }}
run: |
CURRENT_VERSION=$(cat package.json | jq -r '.version')
# 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=$(cat package.json | jq -r '.version')
sleep 10
done while [[ "$NEW_VERSION" != "$CURRENT_VERSION" ]]
- name: Cut RC branch
run: |

Loading…
Cancel
Save