Skip to content

Release via tanem/release-action - #3026

Merged
tanem merged 1 commit into
masterfrom
release-via-action
Aug 8, 2026
Merged

Release via tanem/release-action#3026
tanem merged 1 commit into
masterfrom
release-via-action

Conversation

@tanem

@tanem tanem commented Aug 8, 2026

Copy link
Copy Markdown
Owner

This repo now releases through the tanem/release-action composite action instead of the tanem-scripts release command. The action derives the semver bump from the labels on the week's merged PRs exactly as before, versions and tags the repo, publishes categorised notes to GitHub Releases, and publishes to npm under trusted publishing. The tanem-scripts devDependency goes with it, taking nine transitive runtime dependencies out of the lockfile.

The workflow keeps its release.yml filename deliberately: npm's trusted publisher for this package matches on repo plus workflow filename, so renaming the file would mean updating the publisher first. Actions are SHA-pinned with version comments so Renovate can roll them forward. RELEASE_TOKEN is gone — the bump commit and tag are pushed with the ambient workflow token — and so is CHANGELOG_GITHUB_TOKEN, which existed only to regenerate the changelog file.

GitHub Releases becomes the canonical changelog. CHANGELOG.md is frozen at v7.1.0 with a pointer, and .github/release.yml sorts generated notes into the same categories the bump labels already imply.

The version lifecycle script had to go, and that is the substantive change here. It ran run-s test changelog authors && git add . from inside npm version — which is exactly how the action now bumps — so it would have regenerated CHANGELOG.md and AUTHORS through the very package being removed, failing the release and un-freezing the changelog in one step. The changelog and authors scripts it called are removed with it. prepare still builds dist/ on both install and publish, so the published artifact is unaffected.

AGENTS.md is updated to describe the action rather than the old command, including that a quiet week is now a clean skip instead of a failed run. AUTHORS is left in place as frozen history; nothing regenerates it and files never shipped it.

Replaces the tanem-scripts release command with the composite action,
SHA-pinned and rolled forward by Renovate. The workflow keeps its filename:
npm's trusted publisher for this package matches on repo + workflow filename.

CHANGELOG.md is frozen at v7.1.0 — GitHub Releases is now the canonical
changelog, categorised by the same labels that drive the bump.

The `version` lifecycle script goes too. It ran inside `npm version`, which is
how the action now bumps, and it regenerated CHANGELOG.md and AUTHORS through
the very package being removed — so leaving it would have failed the release
and un-frozen the changelog in the same step. The `changelog` and `authors`
scripts it called go with it.
@tanem tanem added the internal label Aug 8, 2026
@tanem
tanem merged commit 850edf5 into master Aug 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant