Skip to content

[pr-feature] Release workflow: victory.exe for every tag - #2

Merged
Shadow-p99 merged 1 commit into
mainfrom
claude/determined-hopper-bkyhnf
Nov 29, 2026
Merged

Shadow-p99 merged 1 commit into
mainfrom
claude/determined-hopper-bkyhnf

Conversation

@Shadow-p99

Copy link
Copy Markdown
Owner

Fixes #

What it changes

The fork's CI checks the code but keeps no binary. This adds .github/workflows/release.yml, which runs when a tag is pushed:

  • builds victory.exe on windows-latest with cargo build --release --locked -p victory, using the toolchain pinned in rust-toolchain.toml;
  • packages victory-<tag>.zip, which holds:
    • victory.exe and victory.pdb
    • scripts\
    • the root .cmd launchers
    • victory.example.toml
  • creates the tag's GitHub release if it does not exist, then attaches the zip and a bare victory.exe (--clobber, so a re-run replaces them);
  • also keeps the zip as a workflow artifact.

It needs contents: write, for the release only. Nothing from the game is involved: vendor SDKs are still fetched at run time by Get-*.cmd / victory get-*.

How it was tested

  • GPU and profile: n/a (CI only)
  • YAML parses; cargo xtask policy --staged passes.
  • Not run on GitHub yet: the first tag pushed after this merges is the test.
  • cargo test passed for the crates it touches: n/a, no Rust code changed

Checked for overlap

  • No other workflow in this repository builds or publishes a binary (ci.yml only runs clippy and the tests).

Generated by Claude Code

…ry tag

A tag pushed to the fork builds the release binary on windows-latest
(cargo build --release --locked -p victory) and attaches victory.exe and a
zip (exe, pdb, scripts, the root .cmd launchers, victory.example.toml) to
the tag's GitHub release, made if it does not exist. The zip is also kept
as a workflow artifact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RxGcWqw1QvqSBENLiNPRD8
@Shadow-p99
Shadow-p99 merged commit fcb34db into main Nov 29, 2026
1 of 2 checks passed
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