Skip to content

Commit

Permalink
fix(ci): Use "stable" instead of "main" when handling changelog target
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 29, 2024
1 parent cff2815 commit 3a4b0d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ def main():
# Tags cannot include / anyway.
target = args.target.split('/')[-1]

if target == "main":

This comment has been minimized.

Copy link
@antheas

antheas Oct 29, 2024

Contributor

This needs to go in the action yml otherwise the prerelease/latest tags wont be set correctly

target = "stable"

manifests = get_manifests(target)
prev, curr = get_tags(target, manifests)
print(f"Previous tag: {prev}")
Expand Down

0 comments on commit 3a4b0d6

Please sign in to comment.