Skip to content

Add release workflow: build Config.exe and publish a GitHub release - #3

Merged
arithex merged 1 commit into
mainfrom
claude/affectionate-goodall-gn2lqa
Oct 29, 2026
Merged

arithex merged 1 commit into
mainfrom
claude/affectionate-goodall-gn2lqa

Conversation

@arithex

@arithex arithex commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Adds .github/workflows/release.yml. It builds Config.exe on windows-latest and publishes it as a GitHub release, so releases don't need a local Windows build.

How to start a release

  • From the Actions tab: choose Release, then "Run workflow" on main. The workflow creates a tag from <Version> in the csproj, e.g. v2.0.0.
  • By pushing a tag: for example, push v2.0. If the tag doesn't match <Version> in BmsConfig.csproj, the run fails before building. For this check, v2.0 counts as matching 2.0.0.

What a run does

  1. Works out the tag and version.
  2. Runs the unit tests.
  3. Builds the Release configuration.
  4. Runs gh release create, which publishes the release with Config.exe attached, the title Config <version>, and release notes GitHub generates from the merged PRs.

The workflow needs contents: write permission so it can create the tag and the release.

The README has a short new "Releasing" section.

Testing

  • The workflow YAML parses.
  • The PowerShell version step hasn't been run; there's no PowerShell in my environment. The first real release run is its test. If it fails, no release is created.

Generated by Claude Code

…b release

Runs on a pushed v* tag (which must match <Version> in the csproj), or
manually from the Actions tab (tags the branch as v<Version>).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KaEsnLMDyw72GZ8a6ZxAGq
@arithex
arithex merged commit 1c65313 into main Oct 29, 2026
2 checks passed
@arithex
arithex deleted the claude/affectionate-goodall-gn2lqa branch October 29, 2026 04:50
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