diff --git a/CHANGELOG.md b/CHANGELOG.md index cff77a1..3575151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ ## [Unreleased] - ReleaseDate +### Added + +### Changed + + +## [0.1.5] - 2023-03-23 + ### Changed - Update dependencies @@ -51,7 +58,8 @@ Changed licensing from 'Apache-2.0' to 'Apache-2.0 OR GPL-2.0-or-later' -[Unreleased]: https://github.com/pluots/udf-suite/compare/v0.1.4...HEAD +[Unreleased]: https://github.com/pluots/udf-suite/compare/v0.1.5...HEAD +[0.1.5]: https://github.com/pluots/udf-suite/compare/v0.1.4...v0.1.5 [0.1.4]: https://github.com/pluots/udf-suite/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/pluots/udf-suite/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/pluots/udf-suite/compare/v0.1.1...v0.1.2 diff --git a/release.py b/release.py index 6db0dd4..731dc8f 100755 --- a/release.py +++ b/release.py @@ -32,7 +32,6 @@ def get_args(): parser = argparse.ArgumentParser(description="Release a new UDF suite version.") parser.add_argument("level", choices=("major", "minor", "patch")) parser.add_argument("--execute", action="store_true") - parser.add_argument("--tag", required=True) args = parser.parse_args() return args @@ -95,7 +94,8 @@ def update_all_tomls(level: SemvarLevel, execute: bool = False) -> str: return next_version -def update_changelog(version: str, tag_name: str, execute: bool): +def update_changelog(version: str, execute: bool): + tag_name = f"v{version}" with open("CHANGELOG.md", "r") as f: s = f.read() @@ -128,7 +128,7 @@ def main(): next_version = update_all_tomls(args.level, args.execute) print("\nUpdating changelog") - update_changelog(next_version, args.tag, args.execute) + update_changelog(next_version, args.execute) if __name__ == "__main__": diff --git a/test-integration/Cargo.toml b/test-integration/Cargo.toml index 2ea6ef2..1a6ff85 100644 --- a/test-integration/Cargo.toml +++ b/test-integration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-integration" -version = "0.1.4" +version = "0.1.5" edition = "2021" publish = false license = "Apache-2.0 OR GPL-2.0-or-later" diff --git a/udf-jsonify/Cargo.toml b/udf-jsonify/Cargo.toml index e189e91..cf809b6 100644 --- a/udf-jsonify/Cargo.toml +++ b/udf-jsonify/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "udf-jsonify" -version = "0.1.4" +version = "0.1.5" edition = "2021" publish = false license = "Apache-2.0 OR GPL-2.0-or-later" diff --git a/udf-lipsum/Cargo.toml b/udf-lipsum/Cargo.toml index 06aa6a1..5e7db70 100644 --- a/udf-lipsum/Cargo.toml +++ b/udf-lipsum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "udf-lipsum" -version = "0.1.4" +version = "0.1.5" edition = "2021" publish = false license = "Apache-2.0 OR GPL-2.0-or-later" diff --git a/udf-uuid/Cargo.toml b/udf-uuid/Cargo.toml index 8ad23a0..ea39d98 100644 --- a/udf-uuid/Cargo.toml +++ b/udf-uuid/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "udf-uuid" -version = "0.1.4" +version = "0.1.5" edition = "2021" publish = false license = "Apache-2.0 OR GPL-2.0-or-later"