Skip to content

Commit 0cd0f98

Browse files
committed
test11
1 parent 785f932 commit 0cd0f98

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ script:
3838
- ./release.sh
3939

4040
before_deploy:
41-
- export NEXT=${TEST}
41+
- export NEXT=$(cat my_var.txt)
42+
- rm my_var.txt
4243

4344
deploy:
4445
- provider: pages:git

release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ if [ "$BRANCH" == "dev" ] || [ "$BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUES
5959
git add CHANGELOG.md
6060
echo "hello world" > hello.txt
6161
export TEST="version 1.0.4"
62+
echo ${TEST} > my_var.txt
6263

6364
hub release create "$new_tag" -m "$new_tag" || true
6465
fi

0 commit comments

Comments
 (0)