Skip to content

Commit 3590b16

Browse files
committed
chore: update release system
- Add publish:patch/minor/major scripts for manual releases - Remove automatic version bump on every commit - Keep create-release.yml for automatic SBOM generation on tags
1 parent 34e4cde commit 3590b16

File tree

2 files changed

+5
-40
lines changed

2 files changed

+5
-40
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"description": "Node.js proxy for Asterisk PBX",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"publish:minor": "npm version minor --allow-same-version -m v%s --force",
9+
"publish:major": "npm version major --allow-same-version -m v%s --force",
10+
"publish:patch": "npm version patch --allow-same-version -m v%s --force",
11+
"postversion": "git push origin master --tags"
812
},
913
"repository": {
1014
"type": "git",

0 commit comments

Comments
 (0)