mirror of
https://github.com/bitwarden/server.git
synced 2025-02-22 02:51:33 +01:00
Fix while loop (#3789)
This commit is contained in:
parent
d2eaadb158
commit
c0e5d19cb5
7
.github/workflows/version-bump.yml
vendored
7
.github/workflows/version-bump.yml
vendored
@ -174,12 +174,15 @@ jobs:
|
||||
NEW_VERSION: ${{ inputs.version_number }}
|
||||
run: |
|
||||
# Wait for version to change.
|
||||
do
|
||||
while : ; do
|
||||
echo "Waiting for version to be updated..."
|
||||
git pull --force
|
||||
CURRENT_VERSION=$(xmllint -xpath "/Project/PropertyGroup/Version/text()" Directory.Build.props)
|
||||
|
||||
# If the versions don't match we continue the loop, otherwise we break out of the loop.
|
||||
[[ "$NEW_VERSION" != "$CURRENT_VERSION" ]] || break
|
||||
sleep 10
|
||||
done while [[ "$NEW_VERSION" != "$CURRENT_VERSION" ]]
|
||||
done
|
||||
|
||||
- name: Cut RC branch
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user