Skip to content

Conversation

@Patryk-Stefanski
Copy link
Contributor

@Patryk-Stefanski Patryk-Stefanski commented Jan 15, 2026

Description

This PR introduces an automated release workflow for the Developer Portal Controller, streamlining the release process with GitHub Actions.

Changes

  • automated-release.yaml: New workflow that can be triggered manually to prepare a release. It validates semver format, creates/uses release branches (e.g., release-v0.1), updates the VERSION in the Makefile, and opens a PR for review.
  • release.yaml: New workflow that triggers automatically when a release PR is merged. It creates and pushes the git tag, determines if it's a prerelease (alpha/beta/rc), generates release notes from the GitHub API, and creates the GitHub Release.
  • github-release-changelog.sh: Utility script that calls the GitHub API to auto-generate release notes by comparing with the previous release tag.
  • RELEASE.md: Documentation covering the release process including:
    • How to use the automated workflow (recommended)
    • How to create patch releases via cherry-picking
    • Manual release steps as a fallback
  • Makefile: Minor update to set VERSION ?= 0.0.0 as the placeholder on main branch (actual version is set on release branches).

@Patryk-Stefanski Patryk-Stefanski force-pushed the automate-release branch 2 times, most recently from 82a5a63 to 9764a45 Compare January 16, 2026 12:36
@Patryk-Stefanski Patryk-Stefanski marked this pull request as ready for review January 19, 2026 10:47
Copy link
Contributor

@eguzki eguzki left a comment

Choose a reason for hiding this comment

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

Looks good. Just one comment.

When the tag already exists, the workflow skips the steps silently. This means the workflow succeeds without performing any actions. We could configure the workflow to fail instead; however, someone would then need to remove the existing tag manually. Alternatively, we can check if the current commit is indeed the one being tagged. If it is, we can proceed with the release generation. Thoughts?

Signed-off-by: Patryk Stefanski <pstefans@redhat.com>
Copy link
Contributor

@eguzki eguzki left a comment

Choose a reason for hiding this comment

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

LGTM

Nice work 👍

@eguzki eguzki merged commit d4297ba into main Jan 19, 2026
19 checks passed
@eguzki eguzki deleted the automate-release branch January 19, 2026 16:27
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.

3 participants