add release script
This commit is contained in:
parent
0da5fbc89e
commit
7e47e31f71
@ -5,7 +5,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./scripts/build.sh",
|
"build": "./scripts/build.sh",
|
||||||
"e2e": "yarn build && ./scripts/e2e.sh"
|
"e2e": "yarn build && ./scripts/e2e.sh",
|
||||||
|
"release": "yarn build && ./scripts/release.sh"
|
||||||
},
|
},
|
||||||
"dependencies" :{
|
"dependencies" :{
|
||||||
"rxjs": "5.4.2",
|
"rxjs": "5.4.2",
|
||||||
|
|||||||
11
scripts/release.sh
Executable file
11
scripts/release.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cp package.json build/src/package.json
|
||||||
|
cp README.md build/src/README.md
|
||||||
|
cp LICENSE build/src/LICENSE
|
||||||
|
cd build/src
|
||||||
|
git init
|
||||||
|
git add .
|
||||||
|
git commit -am 'init commit'
|
||||||
|
git remote add origin git@github.com:nrwl/nx-build.git
|
||||||
|
git push -f origin master
|
||||||
Loading…
x
Reference in New Issue
Block a user