diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/Maintainer.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk index dc4b4bb..b0d1c5a 100644 --- a/mk/Maintainer.mk +++ b/mk/Maintainer.mk @@ -20,9 +20,8 @@ tarball = $(release-dir)/$(repository)-$(VERSION).tar ifeq ($(usetito),yes) -.PHONY: release -release: - @echo "tito config found, so use this ;)" +$(tarball).gz: + tito build --output $(release-dir) --tgz else @@ -33,11 +32,12 @@ $(tarball).gz: -o $(tarball) $(VERSION) gzip $(tarball) +endif + $(tarball).gz.asc: $(tarball).gz gpg --detach-sign --armor $(tarball).gz .PHONY: release -release: $(tarball).gz +release: $(tarball).gz.asc scp $(tarball).gz* $(release-pub) -endif |