Skip to content

Add build version to wavedash.toml and optional --message flag#11

Open
cloud9c wants to merge 1 commit intofeat/game-id-tomlfrom
feat/required-build-version
Open

Add build version to wavedash.toml and optional --message flag#11
cloud9c wants to merge 1 commit intofeat/game-id-tomlfrom
feat/required-build-version

Conversation

@cloud9c
Copy link

@cloud9c cloud9c commented Feb 10, 2026

Summary

  • Adds a required version field to wavedash.toml for the build version (e.g. version = "0.0.1")
  • Renames version() to engine_version() to disambiguate from build version
  • Adds an optional --message / -m CLI flag to build push for per-push build messages
  • Both values are forwarded to the API when requesting temporary upload credentials

Design

The build version lives in wavedash.toml (not as a CLI flag) to keep a single source of truth — consistent with how npm, cargo, and other tools handle versioning. The --message flag is CLI-only since messages are ephemeral per-push metadata.

Test plan

  • Verify wavedash.toml without version field errors on build push
  • Verify build push reads version from wavedash.toml and sends it to the API
  • Verify build push -m "my message" sends the build message to the API

🤖 Generated with Claude Code

@cloud9c cloud9c changed the title Add required --version flag to build push build push: --version (required), --message (optional) Feb 10, 2026
@claude
Copy link

claude bot commented Feb 10, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Move build version from CLI flag to wavedash.toml config file.
The top-level `version` field is the build version sent to the API,
while the engine section `version` remains the engine version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloud9c cloud9c force-pushed the feat/required-build-version branch from 299ab63 to b2f6f97 Compare February 11, 2026 00:45
@cloud9c cloud9c changed the title build push: --version (required), --message (optional) build push: --version, --message Feb 11, 2026
@cloud9c cloud9c changed the title build push: --version, --message Add build version to wavedash.toml and optional --message flag Feb 11, 2026
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