Skip to content

Let a latest install pin through the 1.0 tag - #409

Merged
tylerreckart merged 1 commit into
mainfrom
cursor/optional-version-pin-2ba9
Oct 15, 2026
Merged

tylerreckart merged 1 commit into
mainfrom
cursor/optional-version-pin-2ba9

Conversation

@tylerreckart

Copy link
Copy Markdown
Owner

Why

Merging the 1.0.0 cut does not tag v1.0.0 today. version.yml runs bump_version.sh --mode auto after CI is green. CMake is already 1.0.0, ahead of tag v0.13.14, so the next version is 1.0.0 and the changelog heading is left alone. The script then rewrites a numeric ARBITER_VERSION= pin in docs/getting-started/local.md. That file ships ARBITER_VERSION=latest, the pattern matches zero times, and required=False only skipped a missing file. The job exits before it can tag.

The same failure already happened on the README merge (e6a925b, version-bump run 38763846429), which was trying to cut 0.13.15:

bump_version: failed to patch docs/getting-started/local.md (0 matches)

A local fixture of the 1.0 tree (CMake 1.0.0, tag v0.13.14, ## [1.0.0] already present, ARBITER_VERSION=latest) exits the same way.

What changed

sub_one treats zero matches as a skip when the pin is optional. A required pin that does not match once is still fatal. A numeric pin in that doc is still rewritten to the new tag.

The fixture suite covers the 1.0 shape: next version 1.0.0, latest left in place, no second changelog heading, and no chore(release) commit when the tree is already at that version.

After this merges

The next green push to main starts version.yml. With CMake still ahead of v0.13.14 and this skip in place, that job tags v1.0.0 on that main SHA and dispatches release.yml, which publishes arbiter-linux-x86_64.tar.gz, arbiter-macos-arm64.tar.gz, their .sha256 files, and install.sh as the GitHub Release titled arbiter v1.0.0. The run already queued for 683e4cd checks out the script that is on main at job start, so it still fails unless this fix is what it checks out.

Open in Web Open in Cursor 

ARBITER_VERSION=latest does not match the numeric pin rewrite, and
required=False only ignored a missing file. That aborted the 1.0.0
tag after CMakeLists and the changelog were already at 1.0.0.

Co-authored-by: Tyler Reckart <tylerreckart@users.noreply.github.com>
@tylerreckart
tylerreckart marked this pull request as ready for review October 15, 2026 17:15
@tylerreckart
tylerreckart merged commit 23799de into main Oct 15, 2026
5 checks passed
@tylerreckart
tylerreckart deleted the cursor/optional-version-pin-2ba9 branch October 15, 2026 17: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.

2 participants