Skip to content

Commit

Permalink
Use sed to extract version from Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Dec 24, 2023
1 parent a20cd65 commit 24080a2
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
@@ -1,4 +1,4 @@
VERSION := $(shell python -c "import django_marina;print(django_marina.__version__)")
VERSION := $(shell sed -n 's/^ *version.*=.*"\([^"]*\)".*/\1/p' pyproject.toml)

.PHONY: test
test:
Expand Down

0 comments on commit 24080a2

Please sign in to comment.