mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-21 09:42:13 +02:00
12 lines
468 B
Bash
Executable File
12 lines
468 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
export VERSION="${CIRRUS_TAG:-0}"
|
|
|
|
mkdir -p .ci/pkg/
|
|
cp .build/arm64-apple-macosx/debug/tart .ci/pkg/
|
|
pkgbuild --root .ci/pkg --version $VERSION --install-location /usr/local/bin/ --identifier com.github.cirruslabs.tart --sign "Developer ID Installer: Cirrus Labs, Inc. (9M2P8L4D89)" "./dist/Tart-$VERSION.pkg"
|
|
xcrun notarytool submit "./dist/Tart-$VERSION.pkg" --keychain-profile "notarytool" --wait
|
|
xcrun stapler staple "./dist/Tart-$VERSION.pkg"
|