Skip to content

Commit b7643a3

Browse files
committed
Always prepend versions with v character
1 parent 19d771c commit b7643a3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bin/release.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ then
1010
fi
1111

1212
CURRENT_BRANCH="5.5"
13+
VERSION=$1
14+
15+
# Always prepend with "v"
16+
if [[ $VERSION != v* ]]
17+
then
18+
VERSION="v$VERSION"
19+
fi
1320

1421
for REMOTE in auth broadcasting bus cache config console container contracts cookie database encryption events filesystem hashing http log mail notifications pagination pipeline queue redis routing session support translation validation view
1522
do
@@ -29,7 +36,7 @@ do
2936
git clone $REMOTE_URL .
3037
git checkout "$CURRENT_BRANCH";
3138

32-
git tag $1
39+
git tag $VERSION
3340
git push origin --tags
3441
)
3542
done

0 commit comments

Comments
 (0)