Skip to content

Commit

Permalink
ci: rename assets on release to avoid conflicts (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeisonvargasf authored Feb 13, 2025
1 parent 6a05419 commit 73a211f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,22 @@ jobs:
echo "## What's Changed" >> $GITHUB_OUTPUT
echo "$NOTES" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Rename executables
run: |
mv safety-linux/safety safety-linux/safety-linux
mv safety-macos/safety safety-macos/safety-macos
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2.0.1
with:
name: Version ${{ steps.get_version.outputs.version }}
body: ${{ steps.release_notes.outputs.RELEASE_NOTES }}
files: |
safety-linux/safety
safety-linux/safety-linux
safety-windows/safety.exe
safety-macos/safety
safety-macos/safety-macos
dist/*
prerelease: ${{ contains(steps.get_version.outputs.version, 'b') }}
token: ${{ secrets.SAFETY_BOT_TOKEN }}
Expand Down

0 comments on commit 73a211f

Please sign in to comment.