Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
tools: fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed May 7, 2024
1 parent 1deefcc commit 8fb88ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/libtrx/cli/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def run(self, args: argparse.Namespace, options: Options) -> None:
print(new_changelog, end="")
return

self.changelog_path.write_text(new_changelog)
self.git.add(self.changelog_path)
options.changelog_path.write_text(new_changelog)
self.git.add(options.changelog_path)
self.git.commit(f"docs: release {args.version}")
self.git.delete_tag(args.version)
self.git.create_tag(args.version)
Expand Down

0 comments on commit 8fb88ab

Please sign in to comment.