Skip to content

Commit

Permalink
Updating CONTRIBUTING.md (#775)
Browse files Browse the repository at this point in the history
* Removing release commands from contributing due to the addition of a github bot that does that

* Improving grammar and changing release command to patch on the contributors guide
  • Loading branch information
Ícaro Azevedo authored Jun 16, 2021
1 parent 652cca1 commit 64af7f1
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,27 @@ Example:

1. After acquiring the necessary approval, rebase and squash-merge your PR in master

2. Locally, go to the master branch pull the changes with `git pull origin master`
2. A bot will commit on master releasing your changes. In the meantime, go grab a coffee ☕

3. Clear any artifact and release a clean build with
```
git clean -fdx && yarn && lerna run build && lerna publish minor --yes
```

4. Go grab a coffe ☕
> If the bot isn't working or you want to release it manually, use the following command to clean any artifact and release a clean build:
>
> `git clean -fdx && yarn && lerna run build && lerna publish patch --yes`
5. Update `package.json` of the `storecomponents` with:
3. Update `package.json` of the `storecomponents` with:
```
yarn upgrade -L --scope @vtex
```

6. Stage, commit and push your changes with:
4. Stage, commit and push your changes with:
```
git add . && git commit -m "upgrade deps" && git push
```

7. Rebase with master
5. Rebase with master
```
git rebase origin/master && git push --force
```

8. Wait for the bots to approve the PR.
6. Wait for the PR checks to have been passed

9. Squash-merge for releasing a new store version 🎉
7. Squash-merge for releasing a new store version 🎉

0 comments on commit 64af7f1

Please sign in to comment.