Skip to content

Commit

Permalink
Update build-and-publish.yml
Browse files Browse the repository at this point in the history
edited the edit. removed the "" from $GITHUB_OUTPUT(s)
  • Loading branch information
AssetOverflow authored May 16, 2024
1 parent 6ddad2d commit a3429f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
then
if [ "$GITHUB_REF" = "refs/heads/main" ]
then
echo "name=version::0.0.0.rc" >> "$GITHUB_OUTPUT"
echo "name=version::0.0.0.rc" >> $GITHUB_OUTPUT
else
PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
echo "name=version::0.0.0.dev${PR_NUMBER}" >> "$GITHUB_OUTPUT"
echo "name=version::0.0.0.dev${PR_NUMBER}" >> $GITHUB_OUTPUT
fi
else
echo "name=version::${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
echo "name=version::${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
fi
- name: Build
env:
Expand Down

0 comments on commit a3429f5

Please sign in to comment.