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

Validate tags in CI #135

Closed
bgamari opened this issue Sep 30, 2023 · 2 comments
Closed

Validate tags in CI #135

bgamari opened this issue Sep 30, 2023 · 2 comments

Comments

@bgamari
Copy link
Collaborator

bgamari commented Sep 30, 2023

Currently it's very easy to overlook or otherwise mess up the tags when adding a new tool version. CI should ideally perform some consistency checks to catch this failure mode:

  • tags should be valid (matching a regular expression capturing known tags)
  • there should be one Latest and one LatestPrerelease, and one Recommended version for each tool
  • each ghc tool should have a base-... tag
@hasufell
Copy link
Member

hasufell commented Oct 1, 2023

CI already does that:

That can probably be extended.

hasufell added a commit that referenced this issue Oct 1, 2023
hasufell added a commit that referenced this issue Oct 1, 2023
hasufell added a commit that referenced this issue Oct 1, 2023
hasufell added a commit that referenced this issue Oct 1, 2023
hasufell added a commit that referenced this issue Oct 1, 2023
@hasufell
Copy link
Member

hasufell commented Oct 1, 2023

@hasufell hasufell closed this as completed Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants