File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ if ! git diff --quiet HEAD 2>/dev/null; then
4040fi
4141
4242# Check tag doesn't already exist
43- if git rev-parse " v $VERSION " > /dev/null 2>&1 ; then
44- echo " ERROR: Tag v $VERSION already exists"
43+ if git rev-parse " $VERSION " > /dev/null 2>&1 ; then
44+ echo " ERROR: Tag $VERSION already exists"
4545 exit 1
4646fi
4747
@@ -61,10 +61,10 @@ git add Info.plist
6161git commit -m " chore(release): bump version to $VERSION "
6262
6363# Create annotated tag
64- git tag -a " v $VERSION " -m " SAM $VERSION "
64+ git tag -a " $VERSION " -m " SAM $VERSION "
6565
6666echo " "
67- echo " Done. Version $VERSION committed and tagged as v $VERSION ."
67+ echo " Done. Version $VERSION committed and tagged as $VERSION ."
6868echo " "
6969echo " Next steps:"
7070echo " git push origin main --tags # Push to trigger CI"
You can’t perform that action at this time.
0 commit comments