diff --git a/package.json b/package.json index fa72625..be10d26 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/release.mjs b/scripts/release.mjs index ae3ee5d..e05593c 100755 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -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('');