Skip to content

Commit 16cd90e

Browse files
committed
Project: Automated the branch and tag push steps
1 parent 8642fc8 commit 16cd90e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ npm run dev
5353
### Releasing
5454

5555
1. Run `npm version <major/minor/patch>`.
56-
2. Push the created commit by running `git push origin master`.
57-
3. Push the created tag by running `git push origin tag <tag name>`.
58-
4. Optionally add release notes to the created GitHub draft release.
59-
5. Publish the GitHub draft release.
56+
2. Optionally add release notes to the created GitHub draft release.
57+
3. Publish the GitHub draft release.
6058

6159
### Submitting
6260

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"dev": "node esbuild.config.mjs",
88
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
9-
"version": "node version-bump.mjs && git add manifest.json versions.json"
9+
"version": "node version-bump.mjs && git add manifest.json versions.json",
10+
"postversion": "git push && git push --tags"
1011
},
1112
"keywords": [
1213
"obsidian",

0 commit comments

Comments
 (0)