Skip to content

Commit ca8305e

Browse files
committed
Merge pull request #1224 from stephenplusplus/spp--travis-release-script
travis: run system tests from release script
2 parents 992e32f + a9424fd commit ca8305e

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

scripts/release.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@
1616

1717
set -ev
1818

19-
# decrypt credentials
2019
openssl aes-256-cbc -K $encrypted_b8aa0887832a_key -iv $encrypted_b8aa0887832a_iv -in key.json.enc -out key.json -d
2120

22-
# create new coverage report
23-
npm run coveralls
24-
25-
### Update docs
26-
# generate new set of json files in docs/json/master
2721
npm run docs
22+
npm run system-test
23+
2824
git submodule add -f -b gh-pages https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} ghpages
2925
# copy set of json to tag folder
3026
test -d "ghpages/json/${TRAVIS_TAG}" && exit 0 || mkdir ghpages/json/${TRAVIS_TAG}
@@ -37,6 +33,8 @@ cd ghpages
3733
git add json
3834
git add manifest.json
3935
# commit to gh-pages branch
40-
git config user.name "selfiebot"
36+
git config user.name "travis-ci"
37+
git config user.email "[email protected]"
4138
git commit -m "Update docs for ${TRAVIS_TAG}"
39+
git status
4240
git push https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} HEAD:gh-pages

0 commit comments

Comments
 (0)