Skip to content

Commit 2cd0774

Browse files
committed
feat: nightly builds now available
Nightly builds can now be accessed with branch `nighly`. This contain WIP features that might break at any time. See the README.md for details on how to access nightly builds.
1 parent fbf6914 commit 2cd0774

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,11 @@ install:
55
- npm install
66
script:
77
- commitlint-travis
8+
- npm run build
89
- npm run semantic-release
10+
deploy:
11+
- provider: script
12+
skip_cleanup: true
13+
script: bash publish-nightly.sh
14+
on:
15+
branch: feature/nightly-builds

publish-nightly.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
setup_git() {
4+
git config --global user.email "[email protected]"
5+
git config --global user.name "Travis CI - Bot"
6+
}
7+
8+
commit_files() {
9+
git add dist -f
10+
git commit -m "Update nightly files"
11+
}
12+
13+
update_nightly_branch() {
14+
git remote add origin-nightly https://${GH_TOKEN}@github.com/ashblue/fluid-behavior-tree.git
15+
git subtree push --prefix dist origin-nightly nightly
16+
}
17+
18+
setup_git
19+
commit_files
20+
update_nightly_branch

0 commit comments

Comments
 (0)