diff options
author | Anjan Nath <kaludios@gmail.com> | 2022-07-28 18:55:44 +0530 |
---|---|---|
committer | Anjan Nath <kaludios@gmail.com> | 2022-08-03 21:20:10 +0530 |
commit | e6670cd29716c61fc96118a94c2edadf3e375a3b (patch) | |
tree | 3d2e26a125ffca8ff4d7bd34ca63c9a8cb9ef715 /contrib/pkginstaller/Makefile | |
parent | c5029d2eea9ae5d782d1d8094ee2a646ffc2bdf4 (diff) | |
download | podman-e6670cd29716c61fc96118a94c2edadf3e375a3b.tar.gz podman-e6670cd29716c61fc96118a94c2edadf3e375a3b.tar.bz2 podman-e6670cd29716c61fc96118a94c2edadf3e375a3b.zip |
pkginstaller: add makefile target to notarize the built pkg
[NO NEW TESTS NEEDED]
Signed-off-by: Anjan Nath <kaludios@gmail.com>
Diffstat (limited to 'contrib/pkginstaller/Makefile')
-rw-r--r-- | contrib/pkginstaller/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/pkginstaller/Makefile b/contrib/pkginstaller/Makefile index 984365ccb..7863a237b 100644 --- a/contrib/pkginstaller/Makefile +++ b/contrib/pkginstaller/Makefile @@ -9,6 +9,7 @@ QEMU_RELEASE_URL ?= https://github.com/containers/podman-machine-qemu/releases/d PACKAGE_DIR ?= out/packaging TMP_DOWNLOAD ?= tmp-download PACKAGE_ROOT ?= root +PKG_NAME := podman-installer-macos-$(ARCH).pkg default: pkginstaller @@ -46,6 +47,12 @@ package_root: get_gvproxy get_qemu pkginstaller: packagedir cd $(PACKAGE_DIR) && ./package.sh .. +_notarize: pkginstaller + xcrun notarytool submit --apple-id $(NOTARIZE_USERNAME) --password $(NOTARIZE_PASSWORD) --team-id=$(NOTARIZE_TEAM) -f json --wait out/$(PKG_NAME) + +notarize: _notarize + xcrun stapler staple out/$(PKG_NAME) + .PHONY: clean clean: rm -rf $(TMP_DOWNLOAD) $(PACKAGE_ROOT) $(PACKAGE_DIR) Distribution welcome.html |