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: CONTRIBUTING.md
+6-17
Original file line number
Diff line number
Diff line change
@@ -130,25 +130,14 @@ This means that all commits on the branch will be squashed into a single commit,
130
130
* Make sure to rebase the branch on `master` before squashing it
131
131
* Make sure to update the commit message of the squashed branch to follow the commit guidelines - including the PR number
132
132
133
-
## Publishing a Release
133
+
### Gitflow
134
134
135
-
_These steps are only relevant to Sentry employees when preparing and publishing a new SDK release._
135
+
We use [Gitflow](https://docs.github.com/en/get-started/quickstart/github-flow) as a branching model.
136
136
137
-
**If you want to release a new SDK for the first time, be sure to follow the [New SDK Release Checklist](./docs/new-sdk-release-checklist.md)**
137
+
For more details, [see our Gitflow docs](./docs/gitflow.md).
138
138
139
-
1. Determine what version will be released (we use [semver](https://semver.org)).
140
-
2. Update [`CHANGELOG.md`](https://github.com/getsentry/sentry-javascript/edit/master/CHANGELOG.md) to add an entry for the next release number and a list of changes since the last release. (See details below.)
141
-
3. Run the [Prepare Release](https://github.com/getsentry/sentry-javascript/actions/workflows/release.yml) workflow.
142
-
4. A new issue should appear in https://github.com/getsentry/publish/issues.
143
-
5. Ask a member of the [@getsentry/releases team](https://github.com/orgs/getsentry/teams/releases/members) to approve the release.
139
+
## Publishing a Release
144
140
145
-
### Updating the Changelog
141
+
_These steps are only relevant to Sentry employees when preparing and publishing a new SDK release._
146
142
147
-
1. Create a new branch.
148
-
2. Run `git log --format="- %s"` and copy everything since the last release.
149
-
3. Create a new section in the changelog, deciding based on the changes whether it should be a minor bump or a patch release.
150
-
4. Paste in the logs you copied earlier.
151
-
5. Delete any which aren't user-facing changes.
152
-
6. Alphabetize the rest.
153
-
7. If any of the PRs are from external contributors, include underneath the commits `Work in this release contributed by <list of external contributors' GitHub usernames>. Thank you for your contributions!`. If there's only one external PR, don't forget to remove the final `s`. If there are three or more, use an Oxford comma. (It's in the Sentry styleguide!)
154
-
8. Commit, push, and open a PR with the title `meta: Update changelog for <fill in relevant version here>`.
143
+
[See the docs for publishing a release](./docs/publishing-a-release.md)
_These steps are only relevant to Sentry employees when preparing and publishing a new SDK release._
5
+
6
+
**If you want to release a new SDK for the first time, be sure to follow the [New SDK Release Checklist](./new-sdk-release-checklist.md)**
7
+
8
+
1. Determine what version will be released (we use [semver](https://semver.org)).
9
+
2. Update [`CHANGELOG.md`](https://github.com/getsentry/sentry-javascript/edit/master/CHANGELOG.md) to add an entry for the next release number and a list of changes since the last release. (See details below.)
10
+
a. Merging the Changelog PR will automatically trigger a sync from `develop` -> `master`
11
+
3. Run the [Prepare Release](https://github.com/getsentry/sentry-javascript/actions/workflows/release.yml) workflow.
12
+
a. Wait for this until the sync to `master` is completed.
13
+
4. A new issue should appear in https://github.com/getsentry/publish/issues.
14
+
5. Ask a member of the [@getsentry/releases team](https://github.com/orgs/getsentry/teams/releases/members) to approve the release.
15
+
a. Once the release is completed, a sync from `master` ->` develop` will be automatically triggered
16
+
17
+
## Updating the Changelog
18
+
19
+
1. Create a new branch.
20
+
2. Run `git log --format="- %s"` and copy everything since the last release.
21
+
3. Create a new section in the changelog, deciding based on the changes whether it should be a minor bump or a patch release.
22
+
4. Paste in the logs you copied earlier.
23
+
5. Delete any which aren't user-facing changes.
24
+
6. Alphabetize the rest.
25
+
7. If any of the PRs are from external contributors, include underneath the commits `Work in this release contributed by <list of external contributors' GitHub usernames>. Thank you for your contributions!`. If there's only one external PR, don't forget to remove the final `s`. If there are three or more, use an Oxford comma. (It's in the Sentry styleguide!)
26
+
8. Commit, push, and open a PR with the title `meta: Update changelog for <fill in relevant version here>` against `develop` branch.
0 commit comments