Skip to content

Commit f756ad1

Browse files
authored
chore(docs): Simplify release creation guide (#3395)
1 parent 63ca4cd commit f756ad1

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,11 @@ Some things to keep in mind before publishing the release:
284284
1. Switch to `main` branch locally.
285285
2. Run `git pull origin main`.
286286
3. Run `git pull --tags` to make sure all tags are fetched.
287-
4. Create new branch with the signature `release/[year]-[month]-[day]`.
288-
5. Push this newly created brunch without new commits to remote as otherwise Melos would fail to version changes on next steps.
289-
6. Run `git branch --set-upstream-to=<remote>/release/[year]-[month]-[day] release/[year]-[month]-[day]` to let Melos see tracking information for the newly created branch.
290-
7. Run `melos version --no-git-commit-version` to automatically version packages and update Changelogs.
291-
8. Run `melos publish` to dry run and confirm all packages are publishable.
292-
9. After successful dry run, commit all changes with the signature "chore(release): prepare for release".
293-
10. Run `git push origin [RELEASE BRANCH NAME]` & open pull request for review on GitHub.
294-
11. After successful review and merge of the pull request, switch to main branch locally, & run `git pull origin main`.
295-
12. Run `melos publish --no-dry-run --git-tag-version` to now publish to pub.dev.
296-
13. Run `git push --tags` to push tags to repository.
287+
4. Run `melos version --no-git-commit-version` to automatically version packages and update Changelogs.
288+
5. Run `melos publish` to dry run and confirm all packages are publishable.
289+
6. After successful dry run, create and checkout to a new branch named `release/[year]-[month]-[day]`.
290+
7. Commit all changes with a commit message `chore(release): prepare for release`.
291+
8. Run `git push origin [RELEASE BRANCH NAME]` & open pull request for review on GitHub.
292+
9. After successful review and merge of the pull request, switch to `main` branch locally, & run `git pull origin main`.
293+
10. Run `melos publish --no-dry-run --git-tag-version` to now publish to pub.dev.
294+
11. Run `git push --tags` to push tags to repository.

0 commit comments

Comments
 (0)