GetRelease from GitHub store now tries to find a release with a tag matching the version with 'v' prefixed or the version directly #10
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.
Hello @tj
Thank you for this package, it has been quite useful :)
Only issue for me is the
GetRelease
function from the GitHub store which prefixes the given version with "v".As I don't prefix my GitHub release, I had to implement my own GitHub store, which only replaces
gh.Repositories.GetReleaseByTag(ctx, s.Owner, s.Repo, "v"+version)
withgh.Repositories.GetReleaseByTag(ctx, s.Owner, s.Repo, version)
.My PR implements a dumb solution for addressing this issue: