Skip to content

Commit 2989d7b

Browse files
fix: prefer update-version-simple.sh in release workflow
The simple script has --no-confirm/--force flag support needed for CI
1 parent c2ad6ef commit 2989d7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747
- name: Update version
4848
run: |
4949
VERSION="${{ steps.version.outputs.version }}"
50-
if [ -f "scripts/update-version.sh" ]; then
51-
chmod +x scripts/update-version.sh
52-
./scripts/update-version.sh "$VERSION" --no-confirm --force
53-
elif [ -f "scripts/update-version-simple.sh" ]; then
50+
if [ -f "scripts/update-version-simple.sh" ]; then
5451
chmod +x scripts/update-version-simple.sh
5552
./scripts/update-version-simple.sh "$VERSION" --no-confirm --force
53+
elif [ -f "scripts/update-version.sh" ]; then
54+
chmod +x scripts/update-version.sh
55+
./scripts/update-version.sh "$VERSION" --no-confirm --force
5656
fi
5757
5858
- name: Code quality

0 commit comments

Comments
 (0)