Skip to content

Commit 9b12fa5

Browse files
authored
Allow to git tag containing v as prefix (#1481)
We've decided to specify git tag versions with a `v` prefix for all bot-sdk repositories. This is to apply the same rule across all repositories and reduce mistakes. In the case of line-bot-sdk-java, specifying the `v` prefix is not an issue as long as it is removed during publishing. This change supports it.
1 parent 518ac61 commit 9b12fa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
else
4343
VERSION=${{ github.event.release.tag_name }}
4444
fi
45+
VERSION=${VERSION#v}
4546
echo "VERSION=$VERSION" >> $GITHUB_ENV
4647
4748
- name: Publish package

0 commit comments

Comments
 (0)