Revert "Fixed versioning syntax in makefile (#106)"
This reverts commit b88a07b526.
This commit is contained in:
parent
b95e26e5ec
commit
0c63110d66
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -115,11 +115,11 @@ full-dist: clean-dist ## Build all projects and copy wheels to ./dist
|
|||
toolkit_name=$$(basename "$$toolkit_dir"); \
|
||||
echo "Building $$toolkit_name project..."; \
|
||||
cd "$$toolkit_dir" && poetry version $(VERSION); \
|
||||
awk '{gsub(/arcade-ai = "0.1.0"/, "arcade-ai = \"" VERSION "\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \
|
||||
awk '{gsub(/arcade-ai = "0.1.\*"/, "arcade-ai = \"$(VERSION)\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \
|
||||
poetry build; \
|
||||
cp dist/*.whl ../../dist/toolkits; \
|
||||
poetry version 0.1.0; \
|
||||
awk '{gsub(/arcade-ai = \"" VERSION "\"/, "arcade-ai = \"0.1.0\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \
|
||||
awk '{gsub(/arcade-ai = "$(VERSION)"/, "arcade-ai = \"0.1.\*\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \
|
||||
cd -; \
|
||||
fi; \
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue