Fix upload script on Travis
This commit is contained in:
parent
d61ddae1a3
commit
01b70adc02
2 changed files with 6 additions and 2 deletions
|
@ -22,7 +22,7 @@ before_install:
|
|||
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
||||
|
||||
install:
|
||||
- (cd src/soh-upload && stack $ARGS --no-terminal --install-ghc test --pedantic --haddock)
|
||||
- (cd src/soh-upload && stack $ARGS --no-terminal --install-ghc test --pedantic --haddock --copy-bins)
|
||||
|
||||
# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
|
||||
script:
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eoux pipefail
|
||||
|
||||
# Intended usage is from the root of the repo:
|
||||
# ./src/soh-upload/upload.sh
|
||||
|
||||
|
@ -20,7 +24,7 @@ security-token: $SIG_TOKEN
|
|||
folder: $SIG_FOLDER$FOLDER/
|
||||
EOF
|
||||
|
||||
stack exec soh-upload $FOLDER
|
||||
soh-upload $FOLDER
|
||||
|
||||
rm $FOLDER/soh-upload.yaml
|
||||
|
||||
|
|
Loading…
Reference in a new issue