Skip to content

Defer Vercel production deploys until release tag exists#30

Merged
heyitsStylez merged 1 commit into
mainfrom
vercel-tag-deploy
May 6, 2026
Merged

Defer Vercel production deploys until release tag exists#30
heyitsStylez merged 1 commit into
mainfrom
vercel-tag-deploy

Conversation

@heyitsStylez
Copy link
Copy Markdown
Owner

@heyitsStylez heyitsStylez commented May 6, 2026

Summary

  • Skip Vercel production builds on main when HEAD has no tag (ignoreCommand in vercel.json); preview branches still deploy normally.
  • After release.yml pushes the new tag, trigger a Vercel Deploy Hook so production rebuilds against the tagged commit.

Why

Vercel was racing release.yml on push-to-main and building before the tag existed, so git describe --tags --always fell back to a short SHA — that's why the footer and Track Wallet popup were showing a commit hash instead of v0.10.x.

Manual setup (already done)

  • Vercel Deploy Hook for main created.
  • VERCEL_DEPLOY_HOOK GitHub Actions secret set.

Test plan

  • Merge this PR; confirm Vercel skips the initial main build (ignoreCommand exits 0).
  • Confirm release workflow tags + pushes, then triggers the hook.
  • Visit production site; footer + Track Wallet popup show the new vX.Y.Z tag.
  • Open a PR from a feature branch; preview deploy still runs.

🤖 Generated with Claude Code

Vercel was racing the release workflow on push-to-main and building
before the tag existed, so `git describe` fell back to a short SHA in
the footer and Track Wallet popup. Skip production builds on untagged
main commits via ignoreCommand, and trigger Vercel via deploy hook
after the release workflow tags the commit.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperwheel Ready Ready Preview, Comment May 6, 2026 1:03am

@heyitsStylez heyitsStylez merged commit be43569 into main May 6, 2026
4 checks passed
@heyitsStylez heyitsStylez deleted the vercel-tag-deploy branch May 6, 2026 01:03
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