Skip to content

Commit 0d6e50d

Browse files
authored
Fix: Update release workflow to match proper version tagging (#516)
1 parent 0b52f4a commit 0d6e50d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release-on-tag.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515

1616
- name: Verify version
1717
run: |
18-
TAG=$(git describe --tags --abbrev=0)
19-
VERSION=${TAG:1}
20-
echo "TAG: $TAG"
18+
VERSION=$(git describe --tags --abbrev=0)
2119
echo "VERSION: $VERSION"
2220
PKG_JSON_VERSION=$(jq -r '.version' <"$GITHUB_WORKSPACE/package.json")
2321
if [ "$VERSION" != "$PKG_JSON_VERSION" ]; then

0 commit comments

Comments
 (0)