From b88a07b5266eebc73b125143d8f9d942b83256d6 Mon Sep 17 00:00:00 2001 From: Sterling Dreyer Date: Mon, 14 Oct 2024 10:07:53 -0700 Subject: [PATCH] Fixed versioning syntax in makefile (#106) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4854e506..041e56a8 100644 --- a/Makefile +++ b/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.\*"/, "arcade-ai = \"$(VERSION)\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \ + awk '{gsub(/arcade-ai = "0.1.0"/, "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.\*\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \ + awk '{gsub(/arcade-ai = \"" VERSION "\"/, "arcade-ai = \"0.1.0\"")}1' pyproject.toml > temp_file && mv temp_file pyproject.toml; \ cd -; \ fi; \ done