mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-18 03:53:56 +02:00
Create Apple Installer in dist folder (#217)
Seems goreleaser reset git state before submitting and therefore removes Tart.pkg
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p .ci/pkg/
|
||||
cp .build/arm64-apple-macosx/debug/tart .ci/pkg/
|
||||
pkgbuild --root .ci/pkg --version "${CIRRUS_TAG:-0}" --install-location /usr/local/bin/ --identifier com.github.cirruslabs.tart --sign "Developer ID Installer: Fedor Korotkov (9M2P8L4D89)" ./dist/Tart.pkg
|
||||
xcrun notarytool submit ./dist/Tart.pkg --keychain-profile "notarytool" --wait
|
||||
xcrun stapler staple ./dist/Tart.pkg
|
||||
+4
-8
@@ -9,13 +9,9 @@ builds:
|
||||
prebuilt:
|
||||
path: .build/arm64-apple-macosx/debug/tart
|
||||
hooks:
|
||||
post: |
|
||||
gon gon.hcl
|
||||
mkdir -p .ci/pkg/
|
||||
cp .build/arm64-apple-macosx/debug/tart .ci/pkg/
|
||||
pkgbuild --root .ci/pkg --version "${CIRRUS_TAG:-0}" --install-location /usr/local/bin/ --identifier com.github.cirruslabs.tart --sign "Developer ID Installer: Fedor Korotkov (9M2P8L4D89)" Tart.pkg
|
||||
xcrun notarytool submit Tart.pkg --keychain-profile "notarytool" --wait
|
||||
xcrun stapler staple Tart.pkg
|
||||
post:
|
||||
- gon gon.hcl
|
||||
- .ci/create-pkg.sh
|
||||
|
||||
before:
|
||||
hooks:
|
||||
@@ -32,7 +28,7 @@ archives:
|
||||
release:
|
||||
prerelease: auto
|
||||
extra_files:
|
||||
- glob: Tart.pkg
|
||||
- glob: ./dist/Tart.pkg
|
||||
|
||||
brews:
|
||||
- name: tart
|
||||
|
||||
Reference in New Issue
Block a user