Skip to content

Add a staging environment - #103

Draft
allanchau wants to merge 2 commits into
masterfrom
staging-environment
Draft

allanchau wants to merge 2 commits into
masterfrom
staging-environment

Conversation

@allanchau

@allanchau allanchau commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds staging as a prerelease type to c project bump, so -t staging (and stagingmajor/minor/patch) now produce versions like 8.1.17-staging.1 instead of failing. Alpha and beta behaviour is unchanged, and the shared version logic gained behavioural tests.

Tasks

  • Link to the task in notion.

Related PRs

Notes

Releasing 6.3.0 to npm is a separate later step (the v6.3.0 tag after merge), so package.json stays at 6.2.0 here while the changelog already names 6.3.0.

Verification and testing

Testing

  • In a project whose version is a beta release (for example 8.1.16), run c project bump -t staging and check the version becomes 8.1.17-staging.1.
  • Run the same command again and check the version becomes 8.1.17-staging.2.

This branch was successfully deployed

1 active deployment
Publish — 133807c3 Deployed Nov 26, 2026 by allanchau via Publish #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant