diff --git a/README.md b/README.md index 218da2e..7e6251b 100644 --- a/README.md +++ b/README.md @@ -43,14 +43,3 @@ npx bookmarklets-cli --watch script.ts # glob support npx bookmarklets-cli --watch 'src/*.ts' ``` - -## Publishing - -```bash -git checkout -B -npm version [ major | minor | patch ] -# merge PR - -# in main -npm publish -``` diff --git a/publish.md b/publish.md new file mode 100644 index 0000000..48f9164 --- /dev/null +++ b/publish.md @@ -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 +```