Skip to content

Commit

Permalink
Read the git tag from the DMARCReporting module version (closes #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdpauw committed Dec 2, 2023
1 parent 5abd6fb commit 62abf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ dist: clean ## Creates a source distribution and wheel distribution
pipenv run check-wheel-contents dist/*.whl

tag: ## Tag version
if [[ -z "${version}" ]]; then echo "version must be set";false; fi
$(eval version := $(shell head -n 1 DMARCReporting/__init__.py | sed -e "s/__version__ = //" | sed -e "s/\"//g"))
git tag -a $(version) -m "Bump version $(version)"
git push origin master --follow-tags

0 comments on commit 62abf76

Please sign in to comment.