kopia lustrzana https://github.com/browsh-org/browsh
Add `--fail` and `set -e` when setting up Browsh
As per @zutto's suggestion in #62 This will at least notify us when something goes wrong during a Docker build.pull/99/head
rodzic
29132f3695
commit
90078ff6c0
|
@ -8,6 +8,8 @@
|
|||
# repeat the build process (having done so in Travis after successfully
|
||||
# passing tests). So we simply just download the already built binary.
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -f manifest.json ]; then
|
||||
PROJECT_ROOT=$(git rev-parse --show-toplevel)/webext
|
||||
else
|
||||
|
@ -21,5 +23,5 @@ version=$(echo $line | grep -o '".*"' | cut -d " " -f 2 | sed 's/"//g')
|
|||
base='https://github.com/browsh-org/browsh/releases/download'
|
||||
release_url="$base/v$version/browsh_${version}_linux_amd64"
|
||||
|
||||
curl -L -o browsh $release_url
|
||||
curl -L -o --fail browsh $release_url
|
||||
chmod a+x browsh
|
||||
|
|
Ładowanie…
Reference in New Issue