Skip to content

Commit

Permalink
Updated release command
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Oct 13, 2019
1 parent f81739f commit 88228c1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <CTRL+C> to abort" && sleep 10
git commit -a -m 'v$(VERSION)' && git tag -a v$(VERSION) -m 'v$(VERSION)'
git push --follow-tags

templates:
Expand Down

0 comments on commit 88228c1

Please sign in to comment.