Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove npx from extract_tag_version (#2697)
Removes npx from `extract_tag_version`, so it can be safely called from the base aztec alpine build image, so it doesn't fail when called from the `build` script. Manually run tests: ``` $ COMMIT_TAG=v0.8.7 ./scripts/extract_tag_version foo 0.8.7 $ COMMIT_TAG=0.8.7 ./scripts/extract_tag_version foo 0.8.7 $ COMMIT_TAG=repo/v0.8.7 ./scripts/extract_tag_version foo Tag was made for: repo Version: v0.8.7 REPO_NAME (repo) does not match REPOSITORY (foo). Exiting... $ COMMIT_TAG=foo/v0.8.7 ./scripts/extract_tag_version foo Tag was made for: foo Version: v0.8.7 0.8.7 $ COMMIT_TAG=foo/v0.8.7 ./scripts/extract_tag_version foo Tag was made for: foo Version: v0.8.7 0.8.7 $ COMMIT_TAG=foo/0.8.7 ./scripts/extract_tag_version foo Tag was made for: foo Version: 0.8.7 0.8.7 $ COMMIT_TAG=foo/notsemver ./scripts/extract_tag_version foo Tag was made for: foo Version: notsemver notsemver is not a semantic version. $ COMMIT_TAG=notsemver ./scripts/extract_tag_version foo notsemver is not a semantic version. $ COMMIT_TAG=0.8.7 ./scripts/extract_tag_version foo 0.8.7 $ COMMIT_TAG=v0.8.7 ./scripts/extract_tag_version foo 0.8.7 $ COMMIT_TAG=v0.8.7-alpha1 ./scripts/extract_tag_version foo 0.8.7-alpha1 ```
- Loading branch information