Skip to content

Commit

Permalink
chore: Release version 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Mar 23, 2023
1 parent 5da52a9 commit cec2db4
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

## [Unreleased] - ReleaseDate

### Added

### Changed


## [0.1.5] - 2023-03-23

### Changed

- Update dependencies
Expand Down Expand Up @@ -51,7 +58,8 @@ Changed licensing from 'Apache-2.0' to 'Apache-2.0 OR GPL-2.0-or-later'

<!-- next-url -->

[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
Expand Down
6 changes: 3 additions & 3 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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__":
Expand Down
2 changes: 1 addition & 1 deletion test-integration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion udf-jsonify/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion udf-lipsum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion udf-uuid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit cec2db4

Please sign in to comment.