Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .craft.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
github:
owner: getsentry
repo: sentry-javascript-bundler-plugins
changelogPolicy: simple
changelog:
policy: auto
preReleaseCommand: bash scripts/craft-pre-release.sh
requireNames:
- /^sentry-bundler-plugin-core-.*\.tgz$/
Expand Down
19 changes: 4 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,7 @@ Our different types of reviews:
_These steps are only relevant to Sentry employees when preparing and publishing a new SDK release._

1. Determine what version will be released (we use [semver](https://semver.org)).
2. Update [`CHANGELOG.md`](https://github.com/getsentry/sentry-javascript-bundler-plugins/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.)
3. Run the [Prepare Release](https://github.com/getsentry/sentry-javascript-bundler-plugins/actions/workflows/release.yml) workflow.
4. A new issue should appear in https://github.com/getsentry/publish/issues.
5. Ask a member of the [@getsentry/releases team](https://github.com/orgs/getsentry/teams/releases/members) to approve the release.

### Updating the Changelog

1. Create a new branch.
2. Run `yarn changelog` and copy all commits in the list.
3. Create a new section in the changelog, deciding based on the changes whether it should be a minor bump or a patch release.
4. Paste in the commits you copied earlier.
5. Delete any which aren't user-facing changes.
6. Alphabetize the rest.
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!)
8. Commit, push, and open a PR against `main` with the title `meta: Update changelog for <fill in relevant version here>`.
2. Run the [Prepare Release](https://github.com/getsentry/sentry-javascript-bundler-plugins/actions/workflows/release.yml) workflow.
3. A new issue should appear in https://github.com/getsentry/publish/issues.
4. At this point, you can review the new changelog entry on the `relase/<version>` branch and make adjustments if necessary.
5. Start the release by adding the approval label on the publish issue
5 changes: 0 additions & 5 deletions RELEASE.md

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"build:watch": "nx run-many --target=build:watch --all",
"build:graph": "nx graph",
"build:npm": "nx run-many --target=build:npm --all",
"changelog": "ts-node ./scripts/get-commit-list.ts",
"check:types": "nx run-many --target=check:types --all",
"clean": "nx run-many --target=clean --all",
"clean:all": "nx run-many --target=clean:all --all && yarn",
Expand Down
36 changes: 0 additions & 36 deletions scripts/get-commit-list.ts

This file was deleted.

Loading