Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Fix Makefile to retrieve version number correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
posidron committed Mar 19, 2019
1 parent 32019f5 commit 613a892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.PHONY: clean clean-test clean-pyc clean-build tag docs help
.DEFAULT_GOAL := help

VERSION := $(shell python3 -c 'import laniakea.__version__; print(laniakea.__version__)')

define PRINT_HELP_PYSCRIPT
import re, sys
for line in sys.stdin:
Expand Down Expand Up @@ -36,7 +38,6 @@ clean-test: ## remove test and coverage artifacts
rm -fr .pytest_cache

tag: ## tag version for new release
VERSION=$$(python3 -c 'import laniakea.__version__; print(laniakea.__version__)')
git tag -a v$(VERSION)
git push origin v$(VERSION)

Expand Down
3 changes: 2 additions & 1 deletion laniakea/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
__title__ = 'laniakea'
__version__ = '1.17.0'
__license__ = 'MPL 2.0'
__description__ = 'Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster it can be used as a tool or as a library.'
__description__ = 'Laniakea is a utility for managing instances at various cloud providers and \
aids in setting up a fuzzing cluster it can be used as a tool or as a library.'
__keywords__ = 'cluster packet ec2 azure fuzzing'
__author__ = 'Christoph Diehl'
__author_email__ = '[email protected]'
Expand Down

0 comments on commit 613a892

Please sign in to comment.