From 88228c1331cbe612bc194ecd4bd17da371b86a58 Mon Sep 17 00:00:00 2001 From: roll Date: Sun, 13 Oct 2019 22:05:35 +0300 Subject: [PATCH] Updated release command --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 10d6106..3aa009f 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,10 @@ readme: sed -i '/(#tableschema-ckan-datastore-py)/,+2d' README.md release: - git checkout master - git pull origin - git fetch -p - git commit -a -m 'v$(VERSION)' - git tag -a v$(VERSION) -m 'v$(VERSION)' + git checkout master && git pull origin && git fetch -p + git log --pretty=format:"%C(yellow)%h%Creset %s%Cgreen%d" --reverse -20 + @echo "Releasing v$(VERSION) in 10 seconds. Press to abort" && sleep 10 + git commit -a -m 'v$(VERSION)' && git tag -a v$(VERSION) -m 'v$(VERSION)' git push --follow-tags templates: