Skip to content

Commit 1ee14dd

Browse files
committed
Remove leading v when prearing release
1 parent 1e2034c commit 1ee14dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/prepare-release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ case $yn in
6363
esac
6464

6565
# Commit and push.
66-
git commit -m "Release v$VERSION"
66+
git commit -m "Release $VERSION"
6767
git push -u origin "$RELEASE_BRANCH"
6868

6969
# Open PR.
70-
LATEST_VERSION_TAG=$(git describe --tags --match "v[0-9]*" --abbrev=0 HEAD)
70+
LATEST_VERSION_TAG=$(git describe --tags --match "[0-9]*" --abbrev=0 HEAD)
7171
PR_BODY=$(cat <<-EOB
7272
[Commits since $LATEST_VERSION_TAG](https://github.com/Automattic/chatrix/compare/$LATEST_VERSION_TAG...$RELEASE_BRANCH)
7373
EOB
7474
)
75-
gh pr create --base main --label "Prepare Release" --title "Release v$VERSION" --body "$PR_BODY" --assignee @me --reviewer akirk,ashfame,psrpinto
75+
gh pr create --base main --label "Prepare Release" --title "Release $VERSION" --body "$PR_BODY" --assignee @me --reviewer akirk,ashfame,psrpinto
7676

7777
echo "A Pull Request has been created for Release $VERSION (see URL above)."
7878
echo "The release will automatically be created once the Pull Request is merged."

0 commit comments

Comments
 (0)