diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2023-09-27 01:10:26 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-09-27 01:12:53 +0200 |
commit | a6d43aca01eadcb4df8b888aebc58fe3d89b51d2 (patch) | |
tree | 8a0622d2e2358553b514ef69f662ad389b0e36b1 /Makefile | |
parent | 02bc8bfbc0bf5a156c784686a10c4a1a3304d953 (diff) | |
download | devtools-a6d43aca01eadcb4df8b888aebc58fe3d89b51d2.tar.xz |
chore(release): streamline release make target with git-cliff and glab
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -146,6 +146,7 @@ uninstall: $(DESTDIR)$(DATADIR) tag: + git cliff --strip=all --unreleased @echo "current version: v$(V)" @read -r -p "tag version: v" VERSION && \ sed -E "s|^V=.+|V=$$VERSION|" -i Makefile && \ @@ -153,7 +154,9 @@ tag: git tag --sign --message "Version v$$VERSION" v$$VERSION release: dist - glab release create v$(V) devtools-$(V).tar.gz* + git push --tags origin master + git cliff --version >/dev/null + glab release create v$(V) devtools-$(V).tar.gz* --milestone v$(V) --notes-file <(git cliff --strip=all --latest) dist: git archive --format=tar --prefix=devtools-$(V)/ v$(V) | gzip > devtools-$(V).tar.gz |