]> rtime.felk.cvut.cz Git - sojka/sterm.git/commitdiff
Add release procedure to Makefile
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 12 Sep 2019 19:28:22 +0000 (21:28 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 12 Sep 2019 19:28:50 +0000 (21:28 +0200)
Makefile

index cab228689d94538d24ea247b43e657896123bfc6..0bd9893c2957d1125dc30e45ef5b89db4f2ba733 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,3 +34,9 @@ deb:
 # Deb cross-building (% stands for debian architecture such as armhf)
 deb-%:
        sbuild --host=$* --add-depends=libc-dev:$* --build-failed-commands='%s'
+
+release:
+       gbp dch --release -N $(shell date +%Y%m%d) --commit
+       gbp buildpackage --git-tag -b
+       debrelease rtime
+       git push --follow-tags