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

chore: add check-releases script #8670

Merged
merged 2 commits into from
Feb 12, 2025
Merged

Conversation

sissbruecker
Copy link
Contributor

Description

Adds a script for checking whether new versions need to be released. The script does:

  • Look up the last release commit and all commits added since then
  • Determines the next patch version
  • Generates an HTML file with that information for each maintained branch (branches are currently hard-coded)
  • Opens the HTML file using Web Dev Server
  • The HTML also contains branch-specific release instructions with specific steps, links and data that needs to be filled in

To use it:

  • Define GITHUB_API_TOKEN in an env variable, for example with the .env file
  • Run npm run check-releases

Type of change

  • Internal

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

Copy link
Contributor

@vursen vursen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great!

@sissbruecker sissbruecker merged commit e23a146 into main Feb 12, 2025
8 of 9 checks passed
@sissbruecker sissbruecker deleted the chore/check-releases-script branch February 12, 2025 09:31
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.7.0.alpha10 and is also targeting the upcoming stable 24.7.0 version.

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

Successfully merging this pull request may close these issues.

3 participants