Skip to content

Align release version syntax between x.py and the workflow #136

Closed

Description

@LunaStev

Evidence

x.py VERSION_PATTERN accepts SemVer build metadata after a plus sign, and its tests cover 1.2.3-rc.1+build.7. release.yml rejects the same input because its shell regex permits only an optional hyphen prerelease suffix. The two release entry points disagree about an accepted Cargo.toml version.

Acceptance criteria

  • Decide whether Vex release tags permit build metadata and implement one shared or explicitly synchronized policy.
  • Make x.py, release workflow validation, tag construction, and archive naming agree.
  • Add positive and negative tests for ordinary, prerelease, and build-metadata versions.
  • Preserve current v0.0.1 behavior and reject malformed versions before creating artifacts.

Activity

  1. added
    bug
    good first issue
    release
    on Sep 22, 2026
  2. LunaStev commented on Oct 2, 2026

    @LunaStev
    MemberAuthor

    Verified completed against master 67797f6415f640e8c33f9a072879124b83934f84.

    Release entry points share the approved normal/prerelease-only version policy and reject build metadata. Shared validation and regression tests align workflow, x.py, tag, and archive handling.

    Evidence: tools/release_version.py, x.py, .github/workflows/release.yml, tests/xpy/test_release_tool.py.

    Master CI run 36963423149 passed all eight jobs, including native Windows, macOS, and Linux tests. Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issuerelease

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions