Skip to content

ci: forward the version bump to ktsubuild release - #35

Merged
matt-edmondson merged 1 commit into
mainfrom
ci/release-forwards-version-bump
Oct 14, 2026
Merged

matt-edmondson merged 1 commit into
mainfrom
ci/release-forwards-version-bump

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Summary

The Release step in the shared dotnet.yml now passes the dispatch's version-bump to ktsubuild release, the same way the KtsuBuild pipeline step already passes it to ktsubuild ci.

Without it, a forced bump over commits that all carry [skip ci] gets stuck between the two steps. The pipeline step commits the forced version to VERSION.md, and the Release step then resolves auto and skips. That happened on 2026-10-14 with patch dispatches on GitBranchStateCache and GitLfsCache.

The input reaches the script through an environment variable rather than inline expansion. That's because the input is typed string, so a caller can put anything in it.

Merge order

Keep this as a draft until ktsu-dev/KtsuBuild#246 is released. That PR adds --version-bump to ktsubuild release. The workflow installs the latest ktsu.KtsuBuild.Tool, and an older one rejects the unknown option, which would fail every forced-bump release.

Runs with auto, including every push and scheduled run, don't pass the option. They're unaffected whatever the merge order.

Test plan

  • After KtsuBuild#246 ships and this is promoted to release, a patch dispatch on a repo whose only new commits are [skip ci] creates the release and the container image
  • A push run still releases as before

🤖 Generated with Claude Code

The pipeline step already receives --version-bump. The release step now receives the
same value, so a forced bump over commits that all carry [skip ci] releases the version
the pipeline step committed instead of being skipped.
@sonarqubecloud

Copy link
Copy Markdown

@matt-edmondson
matt-edmondson marked this pull request as ready for review October 14, 2026 05:14
@matt-edmondson
matt-edmondson merged commit 197bb02 into main Oct 14, 2026
4 checks passed
@matt-edmondson
matt-edmondson deleted the ci/release-forwards-version-bump branch October 14, 2026 05:15
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.

1 participant