Include version in installer (#218)

This commit is contained in:
Fedor Korotkov
2022-09-01 19:42:50 +04:00
committed by GitHub
parent 8a2b0151e0
commit c063c5bdc2
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -2,8 +2,10 @@
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 "${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
pkgbuild --root .ci/pkg --version $VERSION --install-location /usr/local/bin/ --identifier com.github.cirruslabs.tart --sign "Developer ID Installer: Fedor Korotkov (9M2P8L4D89)" "./dist/Tart-$VERSION.pkg"
xcrun notarytool submit "./dist/Tart-$VERSION.pkg" --keychain-profile "notarytool" --wait
xcrun stapler staple "./dist/Tart-$VERSION.pkg"
+1 -1
View File
@@ -28,7 +28,7 @@ archives:
release:
prerelease: auto
extra_files:
- glob: ./dist/Tart.pkg
- glob: ./dist/Tart-{{ .Tag }}.pkg
brews:
- name: tart