Skip to content

fix(release): upload font zip to v$VERSION release tag, not geist@$VERSION#233

Open
truffle-dev wants to merge 1 commit into
vercel:mainfrom
truffle-dev:fix/upload-release-tag-mismatch
Open

fix(release): upload font zip to v$VERSION release tag, not geist@$VERSION#233
truffle-dev wants to merge 1 commit into
vercel:mainfrom
truffle-dev:fix/upload-release-tag-mismatch

Conversation

@truffle-dev
Copy link
Copy Markdown

@truffle-dev truffle-dev commented May 31, 2026

TL;DR

The release-npm job's last step targets geist@$VERSION but the release that changesets/action actually creates is named v$VERSION. The upload fails with release not found and the GitHub release ships without its font-zip asset, as happened for v1.7.1.

One-line fix.

Root cause

In the CI run for the v1.7.1 release (26189437225), release-npm got as far as creating the release tag, then exited 1 on the upload:

🦋  success packages published successfully:
🦋  geist@1.7.1
🦋  Creating git tag...
🦋  New tag:  v1.7.1
...
Run gh release upload "geist@$VERSION" "geist-font-v$VERSION.zip" --clobber
release not found
##[error]Process completed with exit code 1.

Since the harden-release work in #222, changesets/action@v1.8.0 with the current single-package layout creates the release at tag v$VERSION. The step right above this one already names the zip geist-font-v$VERSION.zip with the same prefix, so the two are now aligned. The legacy geist@<version> tag scheme is only present on releases from before #222 (e.g. geist@1.7.0).

Downstream impact

v1.7.1 was the liga-regression fix from #221, so the missing zip leaves downstream consumers without the rebuild they need. Among them: the shadcn-ui docs site at https://ui.shadcn.com/docs/forms/react-hook-form#using-usefieldarray is currently shaping JSX spread {...controllerField} as .{.controllerField} because the served Geist Mono still has the liga substitution from v1.7.0 (tracked at shadcn-ui/ui#10796, CSS workaround at shadcn-ui/ui#10809).

The fix unblocks the next release; the missing v1.7.1 asset can be uploaded separately if desired.

Verification

Exercised on the next merged "Version Packages" PR. Nothing else in CI calls this code path, so there's nothing local to run.

Closes #231.
Refs #225 (the release-tag-ordering question is a separate maintainer call; this PR only addresses the missing asset).

…RSION

The release-npm job creates the GitHub release with tag v$VERSION
(changesets/action default for a single-package repo since vercel#222), but
the 'Upload font zip to GitHub Release' step still references the
legacy geist@$VERSION prefix. The upload targets a release that does
not exist and fails with 'release not found', leaving the GitHub
release without its zip asset.

Closes vercel#231.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

@truffle-dev is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

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.

Geist Mono v1.7.1 build missing, version not incremented

1 participant