Skip to content

Commit 07966bd

Browse files
committed
Change binary release file name to "CANopenEditor-[tagname]-binary.zip"
1 parent ff51ff4 commit 07966bd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ jobs:
3030
echo "prerelease=$prerelease" >> $env:GITHUB_ENV
3131
- name: Make release package
3232
run: |
33-
Compress-Archive -CompressionLevel Optimal -Path "EDSEditorGUI\bin\Release\*" -DestinationPath ".\binary.zip"
33+
$tag = "${{ github.ref_name }}"
34+
$filename = "CANopenEditor-$tag-binary.zip"
35+
Compress-Archive -CompressionLevel Optimal -Path "EDSEditorGUI\bin\Release\*" -DestinationPath $filename
36+
echo "binary_name=$filename" >> $env:GITHUB_ENV
3437
- name: make release
3538
uses: softprops/action-gh-release@v2
3639
with:
3740
prerelease: ${{ env.prerelease }}
3841
files: |
39-
binary.zip
42+
${{ env.binary_name }}

0 commit comments

Comments
 (0)