Skip to content

ci: auto-tag & release on merge to main; add release PR template + CHANGELOG#5

Merged
jphan32 merged 1 commit into
devfrom
docs/release-prep
Jun 23, 2026
Merged

ci: auto-tag & release on merge to main; add release PR template + CHANGELOG#5
jphan32 merged 1 commit into
devfrom
docs/release-prep

Conversation

@jphan32

@jphan32 jphan32 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

Prepares the release pipeline and makes releases automatic on merge to main.

  • release.yml now triggers on push to main: it reads the version from
    manifest.json and, if that version isn't already released, pushes the
    bare-version tag and publishes the GitHub release (artifacts: main.js,
    manifest.json, styles.css) — all in one job. Tag + release happen together,
    so we don't depend on a tag push triggering a second workflow (a GITHUB_TOKEN
    tag push wouldn't). It's idempotent: a merge that doesn't bump the version
    (CI/docs) finds the tag already present and does nothing. The manual
    git tag && git push step is gone.
  • Release PR template (.github/PULL_REQUEST_TEMPLATE/release.md) for
    dev → main release PRs (open via ?expand=1&template=release.md).
  • CHANGELOG.md (Keep a Changelog) seeded with the 1.1.1 entry.
  • CONTRIBUTING: releasing section rewritten for the automatic flow.

Activation note

This new release.yml only takes effect once it reaches main (via the next
dev → main merge). That activation merge is a no-op for releases — manifest
is still 1.1.1, which is already released, so the guard skips. From then on,
any dev → main merge that bumps the version auto-tags and releases.

Type of change

  • CI / docs (no plugin code or behavior change)

How was this tested?

node --check main.js and node scripts/validate.mjs pass; validate CI runs
on this PR. The release job's guard is dry by construction (skips when the
version is already released).

…ANGELOG

- release.yml: trigger on push to `main`; read version from manifest.json and,
  if not already released, push the bare-version tag and publish the release in
  the same job. Idempotent — version-less merges (CI/docs) are a no-op. Removes
  the manual tag-push step.
- Add a named release PR template (.github/PULL_REQUEST_TEMPLATE/release.md) for
  dev->main release PRs.
- Add CHANGELOG.md (Keep a Changelog) with the 1.1.1 entry.
- CONTRIBUTING: rewrite the releasing section for the automatic flow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jphan32
jphan32 merged commit 925234f into dev Jun 23, 2026
1 check passed
@jphan32
jphan32 deleted the docs/release-prep branch June 23, 2026 11:57
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