Skip to content

fix: setup pre-release channel releases#258

Merged
dylantientcheu merged 2 commits into
mainfrom
fix/create-prerelease-channels
Jul 1, 2026
Merged

fix: setup pre-release channel releases#258
dylantientcheu merged 2 commits into
mainfrom
fix/create-prerelease-channels

Conversation

@dylantientcheu

@dylantientcheu dylantientcheu commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds prerelease-aware publishing behavior: npm prerelease versions publish under their channel dist-tag, and Chocolatey publishing is skipped for prerelease tags.
  • Adds a manual Create release tag workflow that computes and pushes release tags for fix, minor, major, prerelease, and freeform releases while keeping the existing tag-triggered GoReleaser workflow as the publisher.
  • Adds release guardrails: exact confirmation for major releases, dry-run support, remote/local duplicate tag checks, release-token tag pushes, and docs PR skipping for prerelease tags.

Test plan

  • bash -n scripts/create-release-tag.sh && bash -n scripts/npm-publish.sh
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/create-release-tag.yml"); YAML.load_file(".github/workflows/releases.yml"); puts "workflow yaml parsed"'
  • git diff --check
  • Dry-ran scripts/create-release-tag.sh for fix, minor, major without confirmation, major with confirmation, beta prerelease, alpha prerelease, and freeform release.

@dylantientcheu dylantientcheu self-assigned this Jun 29, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dylantientcheu dylantientcheu merged commit eff12f2 into main Jul 1, 2026
3 checks passed
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.

3 participants