1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +00:00

Fix while loop logic (#447)

This commit is contained in:
Vince Grassia
2024-02-12 10:35:31 -05:00
committed by GitHub
parent d20818ee49
commit 930f8c84d5

View File

@@ -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: |