Skip to content

Commit

Permalink
[scripts] make new-release get the latest tags
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Apr 16, 2023
1 parent 5040cbe commit a85368f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/new-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def shell(x: str) -> str:

def generate_changelog(args: argparse.Namespace) -> bool:
"""Generate the changelog for the new release."""
latest_tag = shell("git describe --abbrev=0")
latest_tag = shell("git describe --tags --abbrev=0")

print(f"Creating changelog for {args.version} in {args.output_file.name}")
args.output_file.write(f"# Changelog: {args.version} - {args.codename}{os.linesep}{os.linesep}")
Expand Down

0 comments on commit a85368f

Please sign in to comment.