Skip to content

Commit c710e5b

Browse files
committed
release [run deploy] 1.1.3
1 parent 2aaf3c8 commit c710e5b

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ branches:
2525
before_deploy:
2626
- |
2727
if [[ ! $TRAVIS_VAR ]]; then
28+
printf "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
2829
npm run build
2930
echo "___TRAVIS_VAR____"
3031
export TRAVIS_VAR="1.$TRAVIS_BUILD_NUMBER"
@@ -35,7 +36,7 @@ before_deploy:
3536
export LAST_HASH=$(git ls-remote https://github.com/$TRAVIS_REPO_SLUG $TRAVIS_BRANCH | awk '{ print $1}')
3637
echo $LAST_HASH
3738
fi
38-
39+
#https://blog.travis-ci.com/2018-04-11-how_to_publish_node_js_packages_with_travis_ci_and_packagecloud/
3940
deploy:
4041
- provider: script
4142
skip_cleanup: true
@@ -52,11 +53,11 @@ deploy:
5253
overwrite: true
5354
on:
5455
branch: clientBuild
55-
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
56+
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
5657
- provider: npm
5758
skip_cleanup: true
5859
59-
api_key: $NODE_TOKEN
60+
api_key: $NPM_TOKEN
6061
keep_history: true
6162
on:
6263
branch : clientBuild

public_pages.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@ pushd "$HOME" || exit
1212
git clone --branch=$PUBLICATION_BRANCH "https://${GITHUB_TOKEN}@github.com/$TRAVIS_REPO_SLUG" tmp_pages 2>&1 > /dev/null
1313
cd tmp_pages || exit
1414

15-
rm -rf 1.1.10
16-
rm -rf 1.1.9
17-
rm -rf 1.1.8
18-
rm -rf 1.1.7
19-
rm -rf 1.1.6
20-
rm -rf 1.1.5
21-
rm -rf 1.1.4
15+
#rm -rf 1.1.4
2216

2317
# Update pages
2418
cp -r $REPO_PATH/public_pages/. .

test/objectFrame.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ describe('Object Frame Rules', function () {
2222
})
2323
})
2424

25+

0 commit comments

Comments
 (0)