Skip to content

Commit 20bf95a

Browse files
committed
Add release script to package.json for automated tagging and pushing
1 parent c4d65df commit 20bf95a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"scripts": {
1111
"dev": "node esbuild.config.mjs",
1212
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
13-
"version": "node version-bump.mjs && git add manifest.json versions.json"
13+
"version": "node version-bump.mjs && git add manifest.json versions.json",
14+
"release": "git pull && git tag -a $npm_package_version -m \"$npm_package_version\" && git push --tags"
1415
},
1516
"keywords": ["obsidian", "markdown", "tags", "plugin", "customization"],
1617
"author": "John Smith III",

0 commit comments

Comments
 (0)