Skip to content

Commit 8a985fb

Browse files
committed
ci(release): skip version bump error when manual version equals current; allow manual run to proceed without failing
1 parent c3bc52b commit 8a985fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
echo "Current version: $CURRENT_VERSION"
7676
echo "New version: $NEW_VERSION"
7777
if [[ "$CURRENT_VERSION" == "$NEW_VERSION" ]]; then
78-
echo " Version is already set to $NEW_VERSION"
79-
exit 1
78+
echo "ℹ️ Version is already set to $NEW_VERSION; skipping bump."
79+
exit 0
8080
fi
8181
echo "✅ Version bump is valid"
8282

0 commit comments

Comments
 (0)