Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Release condition shouldn't rely on versionfilter #1087

Merged
merged 6 commits into from
Jan 17, 2023

Conversation

olblak
Copy link
Member

@olblak olblak commented Jan 14, 2023

Fix the GitHub release condition. The current code wasn't convenient to use as we needed to provide the appropriate versionfilter parameter.
This pullrequest simplifies the githubrelease condition by removing the useless versionfilter.

While I am removing the versionfilter from the condition, existing manifest will still works

Fix #1084

Test

To test this pull request, you can run the following commands:

cp <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added bug Something isn't working resource-githubRelease Resource of kind GitHub Release condition Modify condition resource labels Jan 14, 2023
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak changed the title Issue/1084 Github Release condition shouldn't rely on versionfilter Jan 14, 2023
@olblak olblak enabled auto-merge (squash) January 17, 2023 04:48
@olblak olblak merged commit 0e74b32 into updatecli:main Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working condition Modify condition resource resource-githubRelease Resource of kind GitHub Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: condition to check if a Github release to a given tag exists
2 participants