Skip to content

Commit 569afe3

Browse files
committed
remove v prefix in tag
1 parent 7607e10 commit 569afe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
6+
- '*.*.*'
77

88
jobs:
99
snapshot:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Verify tag
1818
run: |
1919
VERSION=$(grep VERSION_NAME gradle.properties | awk -F= '{ print $2 }' | sed "s/-SNAPSHOT//")
20-
if [ "${{ steps.vars.outputs.tag }}" != "v$VERSION" ]; then {
20+
if [ "${{ steps.vars.outputs.tag }}" != "$VERSION" ]; then {
2121
echo "Tag ${{ steps.vars.outputs.tag }} does not match the package version ($VERSION)"
2222
exit 1
2323
} fi

0 commit comments

Comments
 (0)