Skip to content

Commit

Permalink
fix: check for release
Browse files Browse the repository at this point in the history
  • Loading branch information
EmandM committed May 15, 2024
1 parent 5d0172d commit 7042e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo foo > bar.txt
set -e
if [[ ${{ inputs.prerelease }} ]]; then
if [[ ${{ inputs.prerelease }} == 'true' ]]; then
current_version=$(npm pkg get version | sed 's/"//g')
echo "Creating prerelease version. Current version is ${current_version}"
if [[ ${current_version} =~ ${PREID} ]]; then
Expand Down

0 comments on commit 7042e6a

Please sign in to comment.