Skip to content

Commit

Permalink
Adjust the release canddiate semvers
Browse files Browse the repository at this point in the history
  • Loading branch information
chipkent authored Jun 5, 2024
1 parent 8b38524 commit d661335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
then
if [ "$GITHUB_REF" = "refs/heads/main" ]
then
echo "::set-output name=version::0.0.0.rc0"
echo "::set-output name=version::0.0.0-rc.0"
else
PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
echo "::set-output name=version::0.0.0.dev${PR_NUMBER}"
echo "::set-output name=version::0.0.0-dev.${PR_NUMBER}"
fi
else
SEMVER="${TAG_NAME:1}"
Expand Down

0 comments on commit d661335

Please sign in to comment.