-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
setup_git() { | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Travis CI - Bot" | ||
} | ||
|
||
commit_files() { | ||
git add dist -f | ||
git commit -m "Update nightly files" | ||
} | ||
|
||
update_nightly_branch() { | ||
git remote add origin-nightly https://${GH_TOKEN}@github.com/ashblue/fluid-behavior-tree.git | ||
git subtree push --prefix dist origin-nightly nightly | ||
} | ||
|
||
setup_git | ||
commit_files | ||
update_nightly_branch |