mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-21 18:55:24 -04:00
Update draft_new_release.yml
This commit is contained in:
parent
c92d64b6e4
commit
53e0150ed1
1 changed files with 6 additions and 1 deletions
7
.github/workflows/draft_new_release.yml
vendored
7
.github/workflows/draft_new_release.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
|||
DISK_IMAGE_FILENAME="Mist.${{ env.APP_VERSION }}.dmg"
|
||||
echo "DISK_IMAGE_FILENAME=$DISK_IMAGE_FILENAME" >> "$GITHUB_ENV"
|
||||
mkdir -p "$DISK_IMAGE_TEMP"
|
||||
ditto "Export/Mist.app" "$DISK_IMAGE_TEMP/Applications/Mist.app"
|
||||
ditto "Export/Mist.app" "$DISK_IMAGE_TEMP/Mist.app"
|
||||
hdiutil create -fs "HFS+" -srcFolder "$DISK_IMAGE_TEMP" -volname "Mist" "$DISK_IMAGE_FILENAME"
|
||||
- name: Notarize Disk Image
|
||||
run: |
|
||||
|
@ -66,11 +66,16 @@ jobs:
|
|||
PACKAGE_FILENAME="Mist.${{ env.APP_VERSION }}.pkg"
|
||||
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> "$GITHUB_ENV"
|
||||
mkdir -p "$PACKAGE_TEMP/Applications"
|
||||
mkdir -p "$PACKAGE_TEMP/Library/LaunchDaemons"
|
||||
mkdir -p "$PACKAGE_TEMP/Library/PrivilegedHelperTools"
|
||||
ditto "Export/Mist.app" "$PACKAGE_TEMP/Applications/Mist.app"
|
||||
cp "com.ninxsoft.mist.helper.plist" "$PACKAGE_TEMP/Library/LaunchDaemons/com.ninxsoft.mist.helper.plist"
|
||||
cp "Export/Mist.app/Contents/Library/LaunchServices/com.ninxsoft.mist.helper" "$PACKAGE_TEMP/Library/PrivilegedHelperTools/com.ninxsoft.mist.helper"
|
||||
pkgbuild --root "$PACKAGE_TEMP" \
|
||||
--identifier "$PACKAGE_IDENTIFIER" \
|
||||
--version "${{ env.APP_VERSION }}" \
|
||||
--min-os-version "12.0" \
|
||||
--scripts "Scripts"
|
||||
--sign "$APPLE_DEVELOPER_ID_INSTALLER_SIGNING_IDENTITY" \
|
||||
"$PACKAGE_FILENAME"
|
||||
- name: Notarize Package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue