-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
# merge master into boman branch for all Metafor repos | ||
# this script should be run from the root directory of the workspace | ||
|
||
# note: the script does not push boman branch to origin | ||
|
||
|
||
function update_repo { | ||
cd $1 | ||
git checkout boman | ||
git pull | ||
git merge origin/master | ||
cd .. | ||
} | ||
|
||
# update each repo one by one | ||
update_repo oo_meta | ||
update_repo oo_nda | ||
update_repo keygen | ||
update_repo parasolid | ||
update_repo MetaforSetup | ||
|
||
# linuxbin uses "master" branch | ||
cd linuxbin | ||
git checkout master | ||
git pull | ||
|
||
# pull the changes manually... |