7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-31 21:30:48 +00:00

Fix tagging with make

Version name was not being prefixed with "v".
This commit is contained in:
Régis Behmo 2019-02-26 21:00:00 +01:00
parent 64eb8e0c92
commit 88542b3d18

View File

@ -14,7 +14,7 @@ version: ## Print the current tutor version
@python -c 'import io, os; about = {}; exec(io.open(os.path.join("tutor", "__about__.py"), "rt", encoding="utf-8").read(), about); print(about["__version__"])'
tag: ## Create a release, update the "latest" tag and push them to origin
$(MAKE) retag TAG=$(shell make version)
$(MAKE) retag TAG=v$(shell make version)
$(MAKE) retag TAG=latest
retag: