Skip to content

Commit 03e9187

Browse files
Nikschavanhelen
andauthored
Remove only the leading v from the tag when deploying to W.org
This also changes the sed flags to be less greedy by removing flags `gI. Co-Authored-By: Helen Hou-Sandi <helen.y.hou@gmail.com>
1 parent 774ec7c commit 03e9187

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo "ℹ︎ SLUG is $SLUG"
2929
# Does it even make sense for VERSION to be editable in a workflow definition?
3030
if [[ -z "$VERSION" ]]; then
3131
VERSION=${GITHUB_REF#refs/tags/}
32-
VERSION=$(echo $VERSION | sed -e "s/v//gI")
32+
VERSION=$(echo $VERSION | sed -e "s/^v//")
3333
fi
3434
echo "ℹ︎ VERSION is $VERSION"
3535

0 commit comments

Comments
 (0)