File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,18 @@ assets:
99install : |
1010 /usr/bin/install-node.sh
1111 npm install --no-color
12- sudo npm install --no-color --global grunt-cli
13- npm uninstall --no-color grunt-cli
14- npm install --no-color mocha
1512 pdd -f /dev/null -v
1613release :
1714 pre : false
1815 script : |
1916 [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
2017 sed -i "s/0\.0\.0/${tag}/" package.json
21- sed -i "s/0\.0\.0/${tag}/" src/version.js
22- sed -i "s/0000-00-00/$(date +%Y-%m-%d)/" src/version.js
23- grunt --no-color
18+ npm run unit-test
19+ npm run package
2420 git commit -am "set version to ${tag}"
2521 chmod 600 ../npmrc
2622 npm publish --no-color --userconfig=../npmrc
2723merge :
2824 script : |-
29- grunt --no-color
25+ npm run unit-test
26+ npm run package
Original file line number Diff line number Diff line change 5858 "package" : " ncc build ./out/server.js && pkg dist/package.json" ,
5959 "unit-test" : " bash scripts/setTestFixture.sh && jest"
6060 },
61- "version" : " 1 .0.0"
61+ "version" : " 0 .0.0"
6262}
You can’t perform that action at this time.
0 commit comments