Skip to content

Commit

Permalink
Merge pull request #146 from mkobayashime/publish.md
Browse files Browse the repository at this point in the history
docs: update how to publish
  • Loading branch information
mkobayashime authored Aug 13, 2024
2 parents 8ec6174 + 23cc24e commit 738a903
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,3 @@ npx bookmarklets-cli --watch script.ts
# glob support
npx bookmarklets-cli --watch 'src/*.ts'
```

## Publishing

```bash
git checkout -B <newversion>
npm version [ major | minor | patch ]
# merge PR

# in main
npm publish
```
10 changes: 10 additions & 0 deletions publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# How to publish

```bash
git checkout -B vX.X.X
npm version [ major | minor | patch ]
# merge PR

git push origin vX.X.X
# automatic publication on CI
```

0 comments on commit 738a903

Please sign in to comment.