Skip to content
Snippets Groups Projects
Commit 98db4220 authored by David Trattnig's avatar David Trattnig
Browse files

fix(make): eval version at exec time

parent 9c965dcb
No related branches found
No related tags found
No related merge requests found
Pipeline #3668 passed
......@@ -104,8 +104,8 @@ log::
run::
poetry run python3 -m aura_engine.app
release:: VERSION := $(shell python3 -c 'import tomli; print(tomli.load(open("pyproject.toml", "rb"))["tool"]["poetry"]["version"])')
release::
$(eval VERSION := $(shell python3 -c 'import tomli; print(tomli.load(open("pyproject.toml", "rb"))["tool"]["poetry"]["version"])'))
git tag $(VERSION)
git push origin $(VERSION)
@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