fix: kustomize github tag uses path prefix (kustomize/vX.Y.Z) #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
kustomizepackage atrpms/kustomize/metadata.yamlhasgithub: kubernetes-sigs/kustomize, but the upstream repo uses scoped release tags in the formatkustomize/v5.8.1rather than plainv5.8.1.tools/update-ghreports:The "latest version" being detected is actually the tag name with the path prefix, not a clean version string. Setting the version to
kustomize/v5.8.1would break RPM builds.Options
tag_prefixortag_stripfield to metadata.yaml soupdate-ghcan stripkustomize/from the tag name before using it as the versionkustomize/v*tags and strip the prefix in the toolCurrent version
5.8.1(likely still current — the latest release tag is justkustomize/v5.8.1)