Skip to content

Commit

Permalink
fix: move npm publish in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Namekkural committed Mar 25, 2022
1 parent 7824a8f commit 01542a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "billbee-types",
"version": "1.7.0",
"version": "1.6.2",
"description": "billbee types",
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"release": "./scripts/release.mjs"
"release": "./scripts/release.mjs && npm publish"
},
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ if (!choices.includes(versionType)) {
await $`yarn version --new-version ${next} --no-git-tag-version`;
await $`git add package.json && git commit --amend --no-edit`;
await $`git push --force-with-lease`;
await $`npm publish`;

await $`gh release create v${next}`;
console.log('');
Expand Down

0 comments on commit 01542a4

Please sign in to comment.