forked from github/server
make previews always build from master
This commit is contained in:
parent
dea20e94bd
commit
e9ccc24895
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
s/preview build
|
||||
s/preview build master
|
||||
s/preview version
|
||||
for game in 2 3 4 ; do
|
||||
s/preview -g $game run && \
|
||||
|
|
|
@ -23,6 +23,7 @@ function build() {
|
|||
assert_dir $SOURCE
|
||||
cd $SOURCE
|
||||
git pull || abort "failed to update source. do you have local changes?"
|
||||
[ -z $1 ] || git checkout $1
|
||||
s/build || abort "build failed."
|
||||
}
|
||||
|
||||
|
@ -128,7 +129,8 @@ case "$1" in
|
|||
version
|
||||
;;
|
||||
"build")
|
||||
build
|
||||
shift
|
||||
build $*
|
||||
;;
|
||||
"setup")
|
||||
setup
|
||||
|
|
Loading…
Reference in New Issue