Skip to content

Commit 1c1eb65

Browse files
authored
Merge pull request #9 from Nikschavan/develop
Remove 'v' from tag when deploying to WordPress.org
2 parents 5bd1d68 + 03e9187 commit 1c1eb65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +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//")
3233
fi
3334
echo "ℹ︎ VERSION is $VERSION"
3435

0 commit comments

Comments
 (0)