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

Tag validation #1159

Open
Boomatang opened this issue Feb 5, 2025 · 0 comments
Open

Tag validation #1159

Boomatang opened this issue Feb 5, 2025 · 0 comments

Comments

@Boomatang
Copy link
Contributor

What

Add a validation step to the make prepare-release that checks if the version that is being build for already has a tag created in github.

Why

At no point should release be prepared for existing releases, and sense this is something that we can check, we should.

How

The Github API should be used for checking that the tags exists. This would remove need, and possible error point of the local repo not having its tags up to date.

Sample command can look like.

http https://api.github.com/repos/kuadrant/kuadrant-operator/tags | jq 'any(.[]; .name == "v1.0.2-rc1")' 

Done

The checking of tags is added to the pre-validation steps of the prepare-release target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant