Skip to content

Commit f47e1e0

Browse files
committed
test [run deploy] 1.1.8 release
1 parent cc1ae27 commit f47e1e0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Logs
2+
local.txt
23
logs
34
*.log
45
npm-debug.log*

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ before_deploy:
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
4141
git tag -f -a "$PACKAGE_VERSION" -m "new version $PACKAGE_VERSION"
42-
43-
export LAST_HASH=$(git rev-parse https://Francesca-Bit:[email protected]/terminusdb/terminus-client.git/clientBuild)
42+
export LAST_HASH=$(git ls-remote https://github.com/terminusdb/terminus-client.git clientBuild | awk '{ print $1}')
4443
echo $LAST_HASH
4544
fi
4645
@@ -68,13 +67,12 @@ deploy:
6867
branch: clientBuild
6968
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
7069
- provider: releases
70+
target_commitish : $LAST_HASH
7171
keep_history: true
7272
api_key: $GITHUB_TOKEN
7373
skip_cleanup: true
7474
file: package.json
7575
overwrite: true
76-
file_glob: true
77-
file: ./*
7876
on:
7977
branch: clientBuild
8078
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*

0 commit comments

Comments
 (0)