You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-process.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,10 @@
16
16
Normal releases in this repository that add new features are released on a monthly schedule.
17
17
The currently staged changes for such releases are in the [develop branch](https://github.com/stacks-network/stacks-core/tree/develop).
18
18
It is generally safe to run a `stacks-node` from that branch, though it has received less rigorous testing than release tags or the [master branch](https://github.com/stacks-network/stacks-core/tree/master).
19
-
If bugs are found in the `develop` branch, please do [report them as issues](https://github.com/stacks-network/stacks-core/issues)on this repository.
19
+
If bugs are found in the `develop` branch, please do [report them as issues](https://github.com/stacks-network/stacks-core/issues)in this repository.
20
20
21
21
For fixes that impact the correct functioning or liveness of the network, _hotfixes_ may be issued.
22
-
These are patches to the main branch which are backported to the develop branch after merging.
22
+
These are patches to the default branch which are backported to the develop branch after merging.
23
23
These hotfixes are categorized by priority according to the following rubric:
24
24
25
25
-**High Priority**. Any fix for an issue that could deny service to the network as a whole, e.g., an issue where a particular kind of invalid transaction would cause nodes to stop processing requests or shut down unintentionally. Any fix for an issue that could cause honest miners to produce invalid blocks.
@@ -58,27 +58,33 @@ The timing of the next Stacking cycle can be found [here](https://stx.eco/dao/to
58
58
59
59
- A label should be applied to each such issue/PR as `X.Y.Z.A.n-blocker`.
60
60
61
-
3. Since development is continuing in the `develop` branch, it may be necessary to cherry-pick some commits into the release branch.
61
+
3. Perform a [block-replay](../contrib/tools/block-replay.sh) using an existing chainstate, or sync from genesis
62
+
63
+
4. Since development is continuing in the `develop` branch, it may be necessary to cherry-pick some commits into the release branch or open a PR against the release branch.
62
64
63
65
- Create a feature branch from `release/X.Y.Z.A.n`, ex: `feat/X.Y.Z.A.n-pr_number`.
64
66
- Add cherry-picked commits to the `feat/X.Y.Z.A.n-pr_number` branch
65
67
- Merge `feat/X.Y.Z.A.n-pr_number` into `release/X.Y.Z.A.n`.
66
68
67
-
4. Open a PR to update the [CHANGELOG](../CHANGELOG.md) in the `release/X.Y.Z.A.n` branch.
69
+
5. If necessary, open a PR to update the [CHANGELOG](../CHANGELOG.md) in the `release/X.Y.Z.A.n` branch.
68
70
69
71
- Create a chore branch from `release/X.Y.Z.A.n`, ex: `chore/X.Y.Z.A.n-changelog`.
72
+
- Update [versions.toml](../versions.toml) to match this release:
73
+
- Update the `stacks_node_version` string to match this release version.
74
+
- Update the `stacks_signer_version` string to match `stacks_node_version`, with an appending `0` for this release version.
70
75
- Add summaries of all Pull Requests to the `Added`, `Changed` and `Fixed` sections.
71
-
- Update the `stacks_node_version` string in [versions.toml](../versions.toml) to match this release.
72
76
73
77
- Pull requests merged into `develop` can be found [here](https://github.com/stacks-network/stacks-core/pulls?q=is%3Apr+is%3Aclosed+base%3Adevelop+sort%3Aupdated-desc).
74
78
75
79
**Note**: GitHub does not allow sorting by _merge time_, so, when sorting by some proxy criterion, some care should be used to understand which PR's were _merged_ after the last release.
76
80
77
-
5. Once `chore/X.Y.Z.A.n-changelog` has merged, a build may be started by manually triggering the [`CI` workflow](../.github/workflows/ci.yml) against the `release/X.Y.Z.A.n` branch.
81
+
- This PR must be merged before continuing to the next steps
82
+
83
+
6. A build may be started by manually triggering the [`CI` workflow](../.github/workflows/ci.yml) against the `release/X.Y.Z.A.n` branch.
78
84
79
-
6. Once the release candidate has been built and binaries are available, ecosystem participants shall be notified to test the tagged release on various staging infrastructure.
85
+
-**Note**: A `stacks-signer` release will also be produced when this workflow is run
80
86
81
-
7.The release candidate will test that it successfully syncs with the current chain from genesis both in testnet and mainnet.
87
+
7.Once the release candidate has been built and binaries are available, ecosystem participants shall be notified to test the tagged release on various staging infrastructure.
82
88
83
89
8. If bugs or issues emerge from the rollout on staging infrastructure, the release will be delayed until those regressions are resolved.
84
90
@@ -90,7 +96,7 @@ The timing of the next Stacking cycle can be found [here](https://stx.eco/dao/to
90
96
91
97
10. Finally, the following merges will happen to complete the release process:
92
98
- Release branch `release/X.Y.Z.A.n` will be merged into the `master` branch.
93
-
- Then, `master` will be merged into `develop`.
99
+
- Then, `release/X.Y.Z.A.n` will be merged into `develop`.
Copy file name to clipboardExpand all lines: stacks-signer/release-process.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ The timing of the next Stacking cycle can be found [here](https://stx.eco/dao/to
63
63
- Add cherry-picked commits to the `feat/signer-X.Y.Z.A.n.x-pr_number` branch
64
64
- Merge `feat/signer-X.Y.Z.A.n.x-pr_number` into `release/signer-X.Y.Z.A.n.x`.
65
65
66
-
4.Open a PR to update the [CHANGELOG](./CHANGELOG.md) in the `release/signer-X.Y.Z.A.n.x` branch.
66
+
4.If necessary, open a PR to update the [CHANGELOG](./CHANGELOG.md) in the `release/signer-X.Y.Z.A.n.x` branch.
67
67
68
68
- Create a chore branch from `release/signer-X.Y.Z.A.n.x`, ex: `chore/signer-X.Y.Z.A.n.x-changelog`.
69
69
- Add summaries of all Pull Requests to the `Added`, `Changed` and `Fixed` sections.
@@ -86,5 +86,5 @@ The timing of the next Stacking cycle can be found [here](https://stx.eco/dao/to
86
86
Announcements will then be shared in the `#stacks-core-devs` channel in the Stacks Discord, as well as the [mailing list](https://groups.google.com/a/stacks.org/g/announce).
87
87
88
88
9. Finally, the following merges will happen to complete the release process:
89
-
- Release branch `release/signer-X.Y.Z.A.n.x` will be merged into the `master` branch.
90
-
- Then, `master` will be merged into `develop`.
89
+
- Release branch `release/X.Y.Z.A.n` will be merged into the `master` branch.
90
+
- Then, `release/X.Y.Z.A.n` will be merged into `develop`.
0 commit comments