mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 03:32:36 +00:00
fix(changelogs): fix ref target in changelogs (#1780)
This commit is contained in:
parent
befbfee2db
commit
b739d459ea
10
.github/workflows/changelog.py
vendored
10
.github/workflows/changelog.py
vendored
@ -383,15 +383,19 @@ def main():
|
||||
parser.add_argument("--handwritten", help="Handwritten changelog")
|
||||
args = parser.parse_args()
|
||||
|
||||
manifests = get_manifests(args.target)
|
||||
prev, curr = get_tags(args.target, manifests)
|
||||
# Remove refs/tags, refs/heads, refs/remotes e.g.
|
||||
# Tags cannot include / anyway.
|
||||
target = args.target.split('/')[-1]
|
||||
|
||||
manifests = get_manifests(target)
|
||||
prev, curr = get_tags(target, manifests)
|
||||
print(f"Previous tag: {prev}")
|
||||
print(f" Current tag: {curr}")
|
||||
|
||||
prev_manifests = get_manifests(prev)
|
||||
title, changelog = generate_changelog(
|
||||
args.handwritten,
|
||||
args.target,
|
||||
target,
|
||||
args.pretty,
|
||||
args.workdir,
|
||||
prev_manifests,
|
||||
|
Loading…
x
Reference in New Issue
Block a user