Skip to content

ci: publish prereleases as next after 2.0.0 #491

Closed

Description

@uniqueg

scripts/release.js dist-tag (used by the Release workflow) publishes releases and the prereleases of a major version without a release (the 2.0.0-alpha.N series) with the npm dist-tag latest; prereleases of a released major get their first identifier as dist-tag (rc for 2.1.0-rc.1), and those of a new major (e.g. 3.0.0-alpha.1) get latest again.

Decided: npm latest holds the newest release from 2.0.0 on, matching stable on Read the Docs, and prereleases go to next.

To do: change the dist-tag rule, without needing an edit at 2.0.0:

  • releases: latest;
  • prereleases: latest only for prereleases of a major without a release while there is no release 2.0.0 or later (the 2.0.0 alphas, as now), else next.

Update the tests (scripts/release.test.js) and "Releases" in CONTRIBUTING.md.

Activity

  1. added
    priority: medium
    status: in progress
    type: ci / cd
    workload: hours
    on Oct 28, 2026
  2. removed
    status: in progress
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: ci / cdworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions