diff --git a/changelog/@unreleased/pr-4.v2.yml b/changelog/@unreleased/pr-4.v2.yml new file mode 100644 index 000000000..9a9cb5b58 --- /dev/null +++ b/changelog/@unreleased/pr-4.v2.yml @@ -0,0 +1,5 @@ +type: fix +fix: + description: Fix version script + links: + - https://github.com/palantir/foundry-platform-python/pull/4 diff --git a/scripts/set_version.py b/scripts/set_version.py index 8760a827d..052e5de4a 100644 --- a/scripts/set_version.py +++ b/scripts/set_version.py @@ -16,7 +16,9 @@ gitversion = subprocess.check_output("git describe --tags --abbrev=0".split()).decode().strip() -path = "foundry/versions.py" +print(f"Setting version to {gitversion}...") + +path = "foundry/_versions.py" with open(path, "r") as f: content = f.read() @@ -25,3 +27,5 @@ with open(path, "w") as f: f.write(content) + +print("Done!")