Skip to content

Commit

Permalink
ENG-1235: Address PR feedback, to not generate changelog on Dev versi…
Browse files Browse the repository at this point in the history
…ons either
  • Loading branch information
AsadHasan-Rasa committed Aug 22, 2024
1 parent 267b0e8 commit 5062468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ def main(args: argparse.Namespace) -> None:
write_version_file(version)
write_version_to_pyproject(version)

if not version.pre:
# never update changelog on a prerelease version
if not version.pre and not version.dev:
# never update changelog on a prerelease or Dev version
generate_changelog(version)

# alpha workflow on feature branch when a version bump is required
Expand Down

0 comments on commit 5062468

Please sign in to comment.