Skip to content

Commit 83db25a

Browse files
authored
chore(beta): create initial beta releases for stacks classic and stacks svelte (#1994)
1 parent ba0c099 commit 83db25a

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

.changeset/open-hands-peel.md renamed to .changeset/itchy-spies-cover.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@stackoverflow/stacks": major
33
---
44

5-
Initial v3 beta release
5+
enter prerelease mode for project shine

.changeset/pre.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"mode": "pre",
3-
"tag": "beta",
4-
"initialVersions": {
5-
"@stackoverflow/stacks": "2.8.6"
6-
},
7-
"changesets": ["open-hands-peel"]
2+
"mode": "pre",
3+
"tag": "beta",
4+
"initialVersions": {
5+
"@stackoverflow/stacks": "2.8.6",
6+
"@stackoverflow/stacks-svelte": "0.5.0"
7+
},
8+
"changesets": []
89
}

.changeset/silent-camels-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stackoverflow/stacks-svelte": major
3+
---
4+
5+
enter prerelease mode for project shine

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,22 @@ _Despite using changesets to communicate the intent of creating releases in a mo
190190

191191
Successful releases trigger automatically a new deployment to stackoverflow.design by merging the `develop` branch into the `production` branch.
192192

193+
## Beta publishing
194+
We use Changesets in prerelease mode to manage publishing to the beta branch. For more information, please refer to the official [Changesets prerelease documentation](https://github.com/changesets/changesets/blob/main/docs/prereleases.md).
195+
196+
To prepare a beta release, follow these steps:
197+
198+
1. Create a pull request (PR) targeting the beta branch.
199+
200+
2. Ensure your PR includes a changeset.
201+
202+
3. Merging the PR will trigger the `release` job. This job creates or updates a chore(new-beta-release) PR.
203+
204+
4. To cut a new beta release, merge the `chore(new-release) (beta)` PR and wait for the `Release (latest or beta)` job to complete.
205+
206+
Consumers can install the beta package by targeting the beta tag:
207+
`npm install @stackoverflow/stacks@beta` or `npm install @stackoverflow/stacks-svelte@beta`
208+
193209
## Bugs and feature requests
194210
Have a bug or feature request? First search existing or closed issues to make sure the issue hasn’t been noted yet. If not, review our [issue guidelines](/CONTRIBUTING.md#open-an-issue) for submitting [a bug report](/CONTRIBUTING.md#reporting-bugs) or [feature request](/CONTRIBUTING.md#feature-requests).
195211

0 commit comments

Comments
 (0)