We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d493a2a commit 49d7959Copy full SHA for 49d7959
scripts/release.sh
@@ -2,16 +2,16 @@
2
3
set -e
4
5
-export TAG=$(svu next --strip-prefix)
+export TAG=$(svu next --force-patch-increment --strip-prefix)
6
7
-read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt
+read -p "Creating new release for v$TAG. Do you want to continue? [Y/n] " prompt
8
9
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
10
python scripts/prepare_changelog.py
11
git add CHANGELOG.md
12
git commit -m "chore: bump version to $TAG for release" || true && git push
13
echo "Creating new git tag $TAG"
14
- git tag "$TAG" -m "$TAG"
+ git tag "v$TAG" -m "v$TAG"
15
git push --tags
16
else
17
echo "Cancelled"
0 commit comments