mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
ZIP mas-dev
This commit is contained in:
parent
7c7ddd1e6c
commit
b4ce74b002
1 changed files with 11 additions and 0 deletions
|
@ -96,6 +96,17 @@ jobs:
|
|||
condition:
|
||||
*should_sign
|
||||
steps:
|
||||
- run:
|
||||
name: Zip MAS-Dev to artifacts directory
|
||||
# If you use `zip` for this it will throw away some metadata (resource forks?) and
|
||||
# the app will crash on startup with "EXC_CRASH (Code Signature Invalid)".
|
||||
# To preserve that metadata, use `ditto` instead.
|
||||
# See also: https://stackoverflow.com/a/22370486
|
||||
command: |
|
||||
NPM_APP_VERSION="`node -pe "require('./package.json').version"`"
|
||||
cd dist/mas-dev
|
||||
ditto -v -c -k --sequesterRsrc --keepParent --zlibCompressionLevel 9 \
|
||||
"Scratch Desktop.app" ../../Artifacts/mas-dev-${NPM_APP_VERSION}.zip
|
||||
- run:
|
||||
name: Move PKG to artifacts directory
|
||||
command: |
|
||||
|
|
Loading…
Reference in a new issue