Skip to content

Commit 8cdb630

Browse files
committed
1.2.0
1 parent 62186a1 commit 8cdb630

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Name | @userscripters/stackexchange-global-types |
77
| Description | Type definitions for global Stack Exchange objects |
88
| License | [GPL-3.0-or-later](https://spdx.org/licenses/GPL-3.0-or-later) |
9-
| Version | 1.1.1 |
9+
| Version | 1.2.0 |
1010

1111
# Support
1212

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@userscripters/stackexchange-global-types",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"description": "Type definitions for global Stack Exchange objects",
55
"scripts": {
66
"test": "dtslint",
77
"lint": "eslint src --fix --ext .js,.ts",
88
"clean": "rm -rf dist",
99
"prebuild": "npm run lint && npm run clean",
1010
"readme": "generate-readme",
11-
"postversion": "npm run readme && git add . && git commit --amend --no-edit"
11+
"postversion": "bash ./scripts/version.sh"
1212
},
1313
"repository": {
1414
"type": "git",

scripts/version.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
npm run readme &&
2+
git add . &&
3+
git commit --amend --no-edit &&
4+
git tag -f $(git tag --list | tail -n 1 -)

0 commit comments

Comments
 (0)