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

Add automatic release workflows #283

Merged

Conversation

subpop
Copy link
Collaborator

@subpop subpop commented Dec 6, 2024

Add two workflows:

  • update-version
  • tag-release

update-version triggers monthly on the first day of the month, or can be triggered manually. It checks out the repository, calculates a version incrementing the "z" value, rewrite's meson.build with the new value, commits the file to a branch and opens a PR submitting the commit. It sets the label auto-release on the PR.

tag-release triggers on pull requests, and only if the PR is merged and contains a label auto-release. If this workflow runs, it configures the project, generates a distribution tarball and creates a release, attaching the distribution tarball to the release.

This PR also deletes the dist.yml workflow, as tag-release.yml replaces it.

Card ID: CCT-1012

Copy link
Contributor

@jirihnidek jirihnidek left a comment

Choose a reason for hiding this comment

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

LGTM

@jirihnidek jirihnidek merged commit 55c21b6 into RedHatInsights:main Dec 9, 2024
22 of 25 checks passed
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

Successfully merging this pull request may close these issues.

2 participants