Skip to content

Commit

Permalink
feat: add auto publish functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Namekkural committed Mar 25, 2022
1 parent cb35e69 commit 7824a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "billbee-types",
"version": "1.6.1",
"version": "1.7.0",
"description": "billbee types",
"main": "index.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ 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 7824a8f

Please sign in to comment.