Skip to content

Commit

Permalink
Ensure Makefile works the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Aug 20, 2019
1 parent dc51651 commit 77e7c42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.PHONY: clean-pyc clean-build docs
CURRENT_VERSION := $(shell semversioner current-version)

clean: clean-build clean-pyc

Expand Down Expand Up @@ -50,9 +49,14 @@ docs:
authors:
git shortlog -e -s -n > AUTHORS

semver:
semver: semver-release semver-updates

semver-release:
semversioner release

semver-updates:
semversioner changelog > CHANGELOG.md
$(eval CURRENT_VERSION = $(shell semversioner current-version))
sed -i "s/^__version__.*/__version__ = \"$(CURRENT_VERSION)\"/" setup.py
git add .changes setup.py CHANGELOG.md
git commit -m "semverioner release updates" --no-verify
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from setuptools import setup

__version__ = "1.1.18"
__version__ = "1.1.19"
URL = "https://github.com/xeroc/python-graphenelib"

setup(
Expand Down

0 comments on commit 77e7c42

Please sign in to comment.