Skip to content

Commit 6ebee53

Browse files
committed
fix version validation
1 parent c3e657e commit 6ebee53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release-asset.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333

3434
- name: Validate version
3535
run: |
36-
VERSION="v$(cat ./VERSION)"
37-
if [[ "$TAG" != "$VERSION" ]]; then
36+
VERSION="$(cat ./VERSION)"
37+
if [[ "$TAG" != "refs/tags/v$VERSION" ]]; then
3838
echo "VERSION $VERSION does not match commit tag $TAG"
3939
exit 1
4040
fi

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.0-rc.1
1+
0.15.0-rc.2

0 commit comments

Comments
 (0)