Skip to content

Commit c07f1a6

Browse files
committed
Updated release command
1 parent 2a0ad93 commit c07f1a6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ readme:
2323
sed -i '/(#$(PACKAGE)-py)/,+2d' README.md
2424

2525
release:
26-
git checkout master
27-
git pull origin
28-
git fetch -p
29-
git commit -a -m 'v$(VERSION)'
30-
git tag -a v$(VERSION) -m 'v$(VERSION)'
26+
git checkout master && git pull origin && git fetch -p
27+
git log --pretty=format:"%C(yellow)%h%Creset %s%Cgreen%d" --reverse -20
28+
@echo "Releasing v$(VERSION) in 10 seconds. Press <CTRL+C> to abort" && sleep 10
29+
git commit -a -m 'v$(VERSION)' && git tag -a v$(VERSION) -m 'v$(VERSION)'
3130
git push --follow-tags
3231

3332
templates:

0 commit comments

Comments
 (0)