Added make macospkg target

Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
This commit is contained in:
paulober 2024-05-24 15:25:02 +02:00
parent 85f424bb08
commit 74392ff654
No known key found for this signature in database

View file

@ -93,3 +93,11 @@ uninstall:
rm -f ${DESTDIR}${datadir}/bash-completion/completions/gh
rm -f ${DESTDIR}${datadir}/fish/vendor_completions.d/gh.fish
rm -f ${DESTDIR}${datadir}/zsh/site-functions/_gh
.PHONY: macospkg
macospkg: manpages completions
ifndef VERSION
$(error VERSION is not set. Use `make macospkg VERSION=vX.Y.Z`)
endif
./script/release --local "$(VERSION)" --platform macos
./script/pkgmacos $(VERSION)