Skip to content

Commit bcdf51f

Browse files
committed
fixup! Feat: add a note to save changes before starting
1 parent 03de3df commit bcdf51f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.cursor/rules/publishing_release.mdc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ Use these guidelines when publishing a new Sentry JavaScript SDK release.
1313
The release process is outlined in [publishing-a-release.md](mdc:docs/publishing-a-release.md).
1414

1515
1. Ensure you're on the `develop` branch with the latest changes:
16-
- If you have unsaved changes, stash them with `git stash -u`.
17-
- If you're on a different branch than `develop`, check out the develop branch using `git checkout develop`.
18-
- Pull the latest updates from the remote repository by running `git pull origin develop`.
16+
- If you have unsaved changes, stash them with `git stash -u`.
17+
- If you're on a different branch than `develop`, check out the develop branch using `git checkout develop`.
18+
- Pull the latest updates from the remote repository by running `git pull origin develop`.
19+
1920
2. Make sure you are on the latest version of the `develop` branch. To confirm this, run `git pull origin develop` to get the latest changes from the repo.
2021
3. Run `yarn changelog` on the `develop` branch and copy the output. You can use `yarn changelog | pbcopy` to copy the output of `yarn changelog` into your clipboard.
2122
4. Decide on a version for the release based on [semver](mdc:https://semver.org). The version should be decided based on what is in included in the release. For example, if the release includes a new feature, we should increment the minor version. If it includes only bug fixes, we should increment the patch version. You can find the latest version in [CHANGELOG.md](mdc:CHANGELOG.md) at the very top.

0 commit comments

Comments
 (0)