Skip to content

Commit

Permalink
chore: Update reusable_release-npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-MikeS authored Apr 16, 2024
1 parent 14659ad commit c12a663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable_release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: 'Check Current Release Type'
shell: bash
run: |
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")"
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")"
echo "releasetype=$RELEASE_TYPE" >> $GITHUB_ENV
- name: "NPM Identity"
Expand Down

0 comments on commit c12a663

Please sign in to comment.