Skip to content
Snippets Groups Projects
Commit 56e6c405 authored by Chris Pastl's avatar Chris Pastl
Browse files

makefile: fix release cmd

parent 240ff5fc
No related branches found
No related tags found
1 merge request!18Final fixes for 1.0.0 alpha2
Pipeline #3705 passed
...@@ -78,8 +78,8 @@ run.gunicorn:: ...@@ -78,8 +78,8 @@ run.gunicorn::
poetry run gunicorn -c config/gunicorn.conf.py aura_engine_api.app:app \ poetry run gunicorn -c config/gunicorn.conf.py aura_engine_api.app:app \
--bind $(AURA_ENGINE_API_HOST):$(AURA_ENGINE_API_PORT) --bind $(AURA_ENGINE_API_HOST):$(AURA_ENGINE_API_PORT)
release:: VERSION := $(shell python3 -c 'import tomli; print(tomli.load(open("pyproject.toml", "rb"))["tool"]["poetry"]["version"])')
release:: release::
$(eval VERSION := $(shell python3 -c 'import tomli; print(tomli.load(open("pyproject.toml", "rb"))["tool"]["poetry"]["version"])'))
git tag $(VERSION) git tag $(VERSION)
git push origin $(VERSION) git push origin $(VERSION)
@echo "Release '$(VERSION)' tagged and pushed successfully." @echo "Release '$(VERSION)' tagged and pushed successfully."
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment