Skip to content

Commit 49d7959

Browse files
committed
ci(release): script update
1 parent d493a2a commit 49d7959

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
set -e
44

5-
export TAG=$(svu next --strip-prefix)
5+
export TAG=$(svu next --force-patch-increment --strip-prefix)
66

7-
read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt
7+
read -p "Creating new release for v$TAG. Do you want to continue? [Y/n] " prompt
88

99
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
1010
python scripts/prepare_changelog.py
1111
git add CHANGELOG.md
1212
git commit -m "chore: bump version to $TAG for release" || true && git push
1313
echo "Creating new git tag $TAG"
14-
git tag "$TAG" -m "$TAG"
14+
git tag "v$TAG" -m "v$TAG"
1515
git push --tags
1616
else
1717
echo "Cancelled"

0 commit comments

Comments
 (0)