From 77e7c4227d2cb57995e0c7a4c12b8e2594ca77c0 Mon Sep 17 00:00:00 2001 From: Fabian Schuh Date: Tue, 20 Aug 2019 14:28:44 +0200 Subject: [PATCH] Ensure Makefile works the right way --- Makefile | 8 ++++++-- setup.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d775b9fb..3a33706d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ .PHONY: clean-pyc clean-build docs -CURRENT_VERSION := $(shell semversioner current-version) clean: clean-build clean-pyc @@ -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 diff --git a/setup.py b/setup.py index 2cf5ae80..4b420af5 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup -__version__ = "1.1.18" +__version__ = "1.1.19" URL = "https://github.com/xeroc/python-graphenelib" setup(