This repository was archived by the owner on Jan 19, 2026. It is now read-only.
feat: add gh release tag to ArtifactHubPkg#644
Merged
fabriziosestito merged 1 commit intokubewarden:mainfrom Mar 4, 2025
Merged
Conversation
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #644 +/- ##
==========================================
+ Coverage 45.40% 45.44% +0.03%
==========================================
Files 53 53
Lines 2852 2854 +2
==========================================
+ Hits 1295 1297 +2
Misses 1557 1557
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduces the
gh_release_tagparameter, allowing customization of the release tag name when constructing download links inartifacthub-pkg.yml.For example:
Without overriding the release tag for
repopolicy v0.2.1:https://github.com/repo/releases/download/v0.2.1/policy.wasmWith
gh_release_tagset toSomePolicy/v0.2.1:https://github.com/repo/releases/download/SomePolicy%2Fv0.2.1/policy.wasmThis is particularly useful when working with repositories like kubewarden/rego-policies-library or any repository where release names do not strictly follow semantic versioning.