Skip to content

Commit

Permalink
ci: fix mac pkg release names
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastCicada committed Jan 16, 2025
1 parent 28150e8 commit 0d8831b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,16 @@ jobs:
run: |
echo "TAGNAME=$(echo $GITHUB_REF | cut -d / -f 3)" >>$GITHUB_OUTPUT
- name: Create zips
- name: Create zips and renname installers
run: |
ls -lah
zip -r cadt-windows-x64-${{ steps.tag-name.outputs.TAGNAME }}.zip cadt-windows-x64
zip -r cadt-macos-x64-${{ steps.tag-name.outputs.TAGNAME }}.zip cadt-macos-x64-installer.pkg
zip -r cadt-macos-arm64-${{ steps.tag-name.outputs.TAGNAME }}.zip cadt-macos-arm64-installer.pkg
zip -r cadt-linux-x64-${{ steps.tag-name.outputs.TAGNAME }}.zip cadt-linux-x64
zip -r cadt-linux-arm64-${{ steps.tag-name.outputs.TAGNAME }}.zip cadt-linux-arm64
mv cadt-macos-x64-installer.pkg.zip cadt-macos-x64-${{ steps.tag-name.outputs.TAGNAME }}.pkg.zip
mv cadt-macos-arm64-installer.pkg.zip cadt-macos-arm64-${{ steps.tag-name.outputs.TAGNAME }}.pkg.zip
# RC release should not be set as latest
- name: Decide if release should be set as latest
Expand Down Expand Up @@ -387,8 +390,8 @@ jobs:
make_latest: "${{steps.is_latest.outputs.IS_LATEST}}"
files: |
cadt-windows-x64-${{ steps.tag-name.outputs.TAGNAME }}.zip
cadt-macos-x64-${{ steps.tag-name.outputs.TAGNAME }}.zip
cadt-macos-arm64-${{ steps.tag-name.outputs.TAGNAME }}.zip
cadt-macos-x64-${{ steps.tag-name.outputs.TAGNAME }}.pkg.zip
cadt-macos-arm64-${{ steps.tag-name.outputs.TAGNAME }}.pkg.zip
cadt-linux-x64-${{ steps.tag-name.outputs.TAGNAME }}.zip
cadt-linux-arm64-${{ steps.tag-name.outputs.TAGNAME }}.zip
cadt-linux-x64-deb/*.deb
Expand Down

0 comments on commit 0d8831b

Please sign in to comment.