Skip to content

chore: restore next npm tag for prerelease versions#558

Merged
B4nan merged 2 commits intomasterfrom
copilot/fix-prerelease-tag
Feb 17, 2026
Merged

chore: restore next npm tag for prerelease versions#558
B4nan merged 2 commits intomasterfrom
copilot/fix-prerelease-tag

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

Recent workflow changes broke the npm dist-tag for prerelease versions. Versions like 3.5.4-beta.0 were being published under the beta tag instead of the original next tag.

Changes

  • .github/workflows/test-and-release.yaml: Updated automatic publish step to use next tag
  • .github/workflows/publish-to-npm.yaml: Changed tag option and conditional from beta to next
  • RELEASE.md: Updated documentation to reflect next tag usage

Context

The version suffix (-beta.X) remains unchanged—only the npm dist-tag is corrected. Users install prerelease versions via:

npm install apify@next

Previous behavior (incorrect):

  • Version 3.5.4-beta.0beta tag

Restored behavior:

  • Version 3.5.4-beta.0next tag
Original prompt

This section details on the original issue you should resolve

<issue_title>Publish prerelease versions to npm under next tag.</issue_title>
<issue_description>Recent changes to the publishing workflow changed this - the prerelease versions are now published under beta tag, which is not consistent with the original behaviour (which used next tag).

Image</issue_description>

<agent_instructions>make minimal changes while fixing this. only comment very hard to understand sections of code. the PR title should follow semantic commits (chore: etc.)</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: barjin <61918049+barjin@users.noreply.github.com>
@barjin barjin changed the title [WIP] Fix publishing of prerelease versions to use next tag chore: change prerelease npm tag from beta to next Feb 10, 2026
@barjin barjin requested a review from janbuchar February 10, 2026 13:18
Copilot AI changed the title chore: change prerelease npm tag from beta to next chore: restore next npm tag for prerelease versions Feb 10, 2026
Copilot AI requested a review from barjin February 10, 2026 13:18
@github-actions github-actions bot added this to the 134th sprint - Tooling team milestone Feb 10, 2026
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Feb 10, 2026
@barjin barjin marked this pull request as ready for review February 10, 2026 17:33
@B4nan B4nan merged commit f7a51d0 into master Feb 17, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish prerelease versions to npm under next tag.

4 participants