Skip to content

Commit c12a663

Browse files
authored
chore: Update reusable_release-npm.yml
1 parent 14659ad commit c12a663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable_release-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: 'Check Current Release Type'
3434
shell: bash
3535
run: |
36-
RELEASE_TYPE="$([[ "$(git describe --abbrev=0 --tags)" =~ ^[0-9]{1,}[\.][0-9]{1,}[\.][0-9]{1,}[-]((beta)|(rc)|(alpha))[\.][0-9]{1,}$ ]] && echo "prerelease" || echo "release")"
36+
RELEASE_TYPE="$([[ "$(git describe --abbrev=0 --tags)" =~ ^v[0-9]{1,}[\.][0-9]{1,}[\.][0-9]{1,}[-]((beta)|(rc)|(alpha))[\.][0-9]{1,}$ ]] && echo "prerelease" || echo "release")"
3737
echo "releasetype=$RELEASE_TYPE" >> $GITHUB_ENV
3838
3939
- name: "NPM Identity"

0 commit comments

Comments
 (0)