Skip to content

Commit

Permalink
make release target
Browse files Browse the repository at this point in the history
  • Loading branch information
gsemet committed Apr 11, 2018
1 parent b21ab78 commit 393b89b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@ tag-pbr:
echo "$$ git tag $$VERSION -m \"$$PROJECTNAME $$VERSION\""; \
git tag $$VERSION -m "$$PROJECTNAME $$VERSION"; \
echo "I: Pushing tag $$VERSION, press ENTER to continue, C-c to interrupt"; \
read _; \
echo "$$ git push upstream $$VERSION"; \
git push upstream $$VERSION; \
}
@# Note:
@# To sign, need gpg configured and the following command:
Expand Down Expand Up @@ -385,7 +383,13 @@ release-note-github: reno-lint
sed 's/\\\#/\#/g' | \
tr '\r' '\n'

release: dists update-po release-note
release: tag-pbr release-note rm-dists update-po dists
@{ \
export VERSION=$$(pipenv run python setup.py --version | cut -d. -f1,2,3); \
git commit --all -m "Release $(VERSION)"; \
PROJECTNAME=$$(pipenv run python setup.py --name); \
echo "$$ git tag --force $$VERSION -m \"$$PROJECTNAME $$VERSION\""; \
}

# aliases to gracefully handle typos on poor dev's terminal
check: checks
Expand Down
4 changes: 2 additions & 2 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
NEWS
====

(unreleased)
------------
3.1.0
-----

Release Summary
~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 393b89b

Please sign in to comment.