Skip to content

Commit

Permalink
Try to make sure I always git pull before I release
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Apr 16, 2014
1 parent c2bd4c2 commit 982eaf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -3,6 +3,7 @@ PYTHON = python
# these do not need changing
FILE_WITH_VERSION = findimports.py
FILE_WITH_CHANGELOG = CHANGES.rst
VCS_GET_LATEST = git pull
VCS_STATUS = git status --porcelain
VCS_EXPORT = git archive --format=tar --prefix=tmp/tree/ HEAD | tar -xf -
VCS_TAG = git tag
Expand Down Expand Up @@ -61,6 +62,7 @@ endif

.PHONY: releasechecklist
releasechecklist:
$(VCS_GET_LATEST)
@$(PYTHON) setup.py --version | grep -qv dev || { \
echo "Please remove the 'dev' suffix from the version number in $(FILE_WITH_VERSION)"; exit 1; }
@$(PYTHON) setup.py --long-description | rst2html --exit-status=2 > /dev/null
Expand Down

0 comments on commit 982eaf9

Please sign in to comment.