Skip to content

Commit c9665aa

Browse files
committed
Add release script to package.json
1 parent 6dc7a3b commit c9665aa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Tests that apply to all languages should be in `behavesLikeSqlFormatter.ts`.
1616

1717
For those who have admin access on the repo, the new release publish flow is as such:
1818

19-
- `release-it` (bumps version, git tag, git release, npm release)
19+
- `yarn release` (bumps version, git tag, git release, npm release)
2020
- `git subtree push --prefix static origin gh-pages` (pushes demo page to GH pages)
2121

2222
## Contributors

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
"build:commonjs": "babel src --out-dir lib --extensions .ts --source-maps && tsc --module commonjs --emitDeclarationOnly --isolatedModules",
7979
"build:umd": "webpack --config webpack.dev.js",
8080
"build:umd:min": "webpack --config webpack.prod.js",
81-
"build": "yarn build:commonjs && yarn build:umd && yarn build:umd:min"
81+
"build": "yarn build:commonjs && yarn build:umd && yarn build:umd:min",
82+
"release": "release-it"
8283
},
8384
"pre-push": [
8485
"ts:check",

0 commit comments

Comments
 (0)