Skip to content

Commit 3abf491

Browse files
committed
ci(nightly): forcing travis to grab the develop branch
1 parent da4f36d commit 3abf491

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

publish-nightly.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ setup_git() {
66
}
77

88
update_nightly_branch() {
9+
git remote add origin-nightly https://${GH_TOKEN}@github.com/ashblue/fluid-behavior-tree.git
10+
git fetch
11+
git checkout -b develop origin-nightly/develop
12+
913
printf "Current Git details \n"
1014
git rev-parse HEAD
1115
git branch | grep \* | cut -d ' ' -f2
1216

1317
printf "Run nightly update \n"
14-
git remote add origin-nightly https://${GH_TOKEN}@github.com/ashblue/fluid-behavior-tree.git
1518
git subtree push --prefix Assets/FluidBehaviorTree origin-nightly nightly
1619
}
1720

0 commit comments

Comments
 (0)