Skip to content

Commit 555f5c3

Browse files
authored
add to how to (#430)
1 parent 4db2bf1 commit 555f5c3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

HOW_TO_PUBLISH.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm run test:all
1414

1515
- Bump the version in the package.json file
1616

17-
- Create a branch with the name of the new version number e.g.: `git checkout -b 1.0.0-beta.4`
17+
- Create a branch with the name of the new version number, e.g.: `git checkout -b 1.0.0-beta.4`
1818

1919
```bash
2020
git add .
@@ -24,10 +24,14 @@ git commit -m 'bump version'
2424
git push
2525
```
2626

27-
- Once the PR is merged then `git checkout master` and `git pull`
27+
- Once the PR is merged, then `git checkout master` and `git pull`
2828

2929
- Uncomment the first line of the `.npmrc` file and comment the second line
3030

3131
- Then publish the package using the following command: `NPM_TOKEN=${NPM_TOKEN} npm publish`
3232

3333
> N.B.: you need to replace `${NPM_TOKEN}` with a valid npm token
34+
35+
- Once the new version is published, add a new release in GitHub; https://github.com/prettier-solidity/prettier-plugin-solidity/releases/new
36+
37+
- The tag version and the name should be prefixed by a `v` followed by the latest published version number; e.g.: `v1.0.0-beta.4`

0 commit comments

Comments
 (0)