Repository navigation
Add the release workflow - #162
Closed
RikusVanRensburg wants to merge 1 commit into
Closed
RikusVanRensburg wants to merge 1 commit into
RikusVanRensburg wants to merge 1 commit into
Conversation
…release Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
Dropped: the owner decided Koppel uses no runners. |
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.
Closes #153
What changed
.github/workflows/release.yml, run by an annotatedv*tag. Jobs: Verify (tag is annotated, equals the workspace version, is onmain;release-versions.sh check; the CHANGELOG section exists), Linux packages and image (the three.debfiles and the image for amd64, arm64 and arm/v6), Windows installer (Koppel-Setup.exe, unsigned), and Push, sign and publish (image push as<version>andlatest, cosign signature of the image by digest,SHA256SUMSand its cosign bundle, the GitHub release with the CHANGELOG section and a Verify section).latestand a normal release only for a version without-;-rcand the like are pre-releases..github/scripts/release-versions.sh:checklists every place that names another version than the workspace (composes, README status line, image tag and.debnames,docs/windows.md,docs/installers.md);writerewrites them. Chosen over a template engine because the files stay readable as they are..github/scripts/changelog-section.shprints a version's CHANGELOG section.docs/building.md"To release" rewritten.Secrets the owner must add (Settings, Secrets and variables, Actions)
DOCKERHUB_USERNAME: the Docker Hub account that ownsmatumisoftware/koppel.DOCKERHUB_TOKEN: an access token for it with Read & Write on that repository.id-token: writeon the publish job only). Until both secrets exist, a tag run stops in its first job with an error naming the missing ones, before building or pushing anything.Not done
CHANGELOG.mdis the owner's session's, and the version is still 0.2.0). Without the secrets, release by hand asdocs/building.mdsays.Testing
release-versions.sh checkpasses on main;check 0.2.1lists the stale places;write 0.2.1thencheck 0.2.1passes (reverted afterwards).changelog-section.sh 0.2.0prints the section and0.9.9fails.docs/building.md.Changelog notes: no wire, on-disk or settings change. Release process: tag-driven; see
docs/building.md.🤖 Generated with Claude Code