Skip to content

Commit

Permalink
Fixing zip for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Jun 20, 2024
1 parent bd891ee commit 9446250
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,16 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: Eclipse-Groovy-Mac-x86_64.tar.gz
asset_name: Eclipse-Groovy-Mac-x86_64.tar.gz
asset_path: Eclipse-Groovy-Mac-x86_64.zip
asset_name: Eclipse-Groovy-Mac-x86_64.zip
asset_content_type: application/octet-stream
- name: upload MacOS dmg arm
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: Eclipse-Groovy-Mac-arm64.tar.gz
asset_name: Eclipse-Groovy-Mac-arm64.tar.gz
asset_path: Eclipse-Groovy-Mac-arm64.zip
asset_name: Eclipse-Groovy-Mac-arm64.zip
asset_content_type: application/octet-stream

3 changes: 2 additions & 1 deletion buildEclipse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ mkdir -p $SCRIPT_DIR/release
NAME=Eclipse-Groovy
case "${TYPE}" in
Windows*) MKPKG="7z a $SCRIPT_DIR/release/$NAME-$TYPE.zip $LOCATION/* ";;
*) MKPKG="cd $DOWNDIR/$BASEFILE;tar czf $SCRIPT_DIR/release/$NAME-$TYPE.tar.gz *;cd ..";;
Mac*) MKPKG="cd $LOCATION/;zip -r $SCRIPT_DIR/release/$NAME-$TYPE.zip Eclipse.app; cd $SCRIPT_DIR";;
Linux*) MKPKG="cd $DOWNDIR/$BASEFILE;tar czf $SCRIPT_DIR/release/$NAME-$TYPE.tar.gz * ;cd $SCRIPT_DIR";;
esac
echo "$MKPKG"
eval "$MKPKG"
Expand Down

0 comments on commit 9446250

Please sign in to comment.