Skip to content

Commit

Permalink
Change binary release file name to "CANopenEditor-[tagname]-binary.zip"
Browse files Browse the repository at this point in the history
  • Loading branch information
CANopenNode committed Oct 16, 2024
1 parent ff51ff4 commit 07966bd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ jobs:
echo "prerelease=$prerelease" >> $env:GITHUB_ENV
- name: Make release package
run: |
Compress-Archive -CompressionLevel Optimal -Path "EDSEditorGUI\bin\Release\*" -DestinationPath ".\binary.zip"
$tag = "${{ github.ref_name }}"
$filename = "CANopenEditor-$tag-binary.zip"
Compress-Archive -CompressionLevel Optimal -Path "EDSEditorGUI\bin\Release\*" -DestinationPath $filename
echo "binary_name=$filename" >> $env:GITHUB_ENV
- name: make release
uses: softprops/action-gh-release@v2
with:
prerelease: ${{ env.prerelease }}
files: |
binary.zip
${{ env.binary_name }}

0 comments on commit 07966bd

Please sign in to comment.