Skip to content

Commit 84bf8da

Browse files
committed
test [run deploy] 1.1.4 release
1 parent d0977c0 commit 84bf8da

File tree

4 files changed

+13
-19
lines changed

4 files changed

+13
-19
lines changed

.travis.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ before_deploy:
3838
git add .
3939
git commit --amend -m "[skip travis] version changed $PACKAGE_VERSION"
4040
git push https://Francesca-Bit:[email protected]/terminusdb/terminus-client.git HEAD:clientBuild
41+
git tag -f -a "$PACKAGE_VERSION" -m "new version $PACKAGE_VERSION"
4142
fi
4243
4344
#git tag -f -a "$PACKAGE_VERSION" -m "new version $PACKAGE_VERSION"
@@ -63,23 +64,14 @@ deploy:
6364
on:
6465
branch: clientBuild
6566
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
66-
67-
# condition: $TRAVIS_BRANCH =~ ^(staging|production)$
68-
# - provider: releases
69-
# keep_history: true
70-
# api_key: $GITHUB_TOKEN
71-
# skip_cleanup: true
72-
# on:
73-
# branch: clientBuild # condition: $TRAVIS_BRANCH =~ ^(staging|production)$
74-
# condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
75-
#- provider: pages
76-
# skip_cleanup: true
77-
# github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
78-
# keep_history: true
79-
# local_dir: public_pages
80-
# on:
81-
# branch: clientBuild
82-
# condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
67+
- provider: releases
68+
keep_history: true
69+
api_key: $GITHUB_TOKEN
70+
skip_cleanup: true
71+
on:
72+
branch: clientBuild
73+
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
74+
8375
#- provider: npm
8476
# skip_cleanup: true
8577
# email: "[email protected]"

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminus-client",
3-
"version": "1.1.14",
3+
"version": "1.1.3",
44
"description": "TerminusDB client library",
55
"main": "index.js",
66
"directories": {

public_pages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ 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.14
16+
rm -rf 1.1.13
1517
# Update pages
1618
cp -r $REPO_PATH/public_pages/. .
1719
# Commit and push latest version

0 commit comments

Comments
 (0)