Add release workflow (draft release, GHCR image, tag, devops dispatch)#36
Merged
automergerpr-permission-manager[bot] merged 5 commits intoMay 14, 2026
Merged
Conversation
Mirror the mir-semantics release pipeline: draft release on push to release, build and push the Kompass container to GHCR, tag and finalize the release, notify devops dependents, and populate Nix caches (k-framework and k-framework-binary) with a Cachix pin check for the kompass flake output. Co-authored-by: Cursor <cursoragent@cursor.com>
Run tag-release on flyweight runners; drop Cachix/kup jobs and check-cachix-pin.sh now that the release path is Docker-only. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a release workflow for pushes to the release branch and bumps the Kompass package version to 0.1.22.
Changes:
- Adds
.github/workflows/release.ymlto draft a GitHub release, build/push GHCR Docker images, tag the release branch, publish the release, and dispatch dependent updates. - Updates project/package version metadata from
0.1.21to0.1.22. - Refreshes
uv.lockto reflect the version update.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Adds the automated release, Docker publish, tag, finalize, and devops dispatch workflow. |
package/version |
Bumps the release version to 0.1.22. |
pyproject.toml |
Updates the Python package version to 0.1.22. |
uv.lock |
Updates locked project metadata for the new version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment on lines
+32
to
+36
| gh release create "${VERSION}" \ | ||
| --repo runtimeverification/kompass \ | ||
| --draft \ | ||
| --title ${VERSION} \ | ||
| --target ${{ github.sha }} |
|
|
||
| - name: Tag Release Branch | ||
| run: | | ||
| git tag "v$(cat package/version)" origin/release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/release.ymlon pushes torelease:v$(cat package/version)Dockerfile, push toghcr.io/runtimeverification/kompasswith tagsubuntu-jammy-<package/version>andubuntu-jammy-latest(KMIR_VERSIONfromdeps/kmir_release)v<version>fromorigin/release, finalize release,repository_dispatchto devops (JENKINS_GITHUB_PAT) for dependent updatesRunners
release-docker:[self-hosted, linux, normal]tag-release:[self-hosted, linux, flyweight]Permissions
Workflow uses
contents: writeandpackages: writefor releases and GHCR.