Skip to content

Commit

Permalink
Update before_deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Relrin authored Aug 23, 2019
1 parent 040bbff commit 30588bb
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ex

main() {
local src=$(pwd) \
artefact = terraform-sage.exe
artefact=terraform-sage \
stage= \

case $TRAVIS_OS_NAME in
Expand All @@ -16,20 +16,9 @@ main() {
;;
esac

case $TARGET in
x86_64-pc-windows-gnu)
artefact=terraform-sage.exe
;;
x86_64-unknown-linux-gnu)
artefact=terraform-sage
;;
x86_64-unknown-linux-musl)
artefact=terraform-sage
;;
x86_64-apple-darwin)
artefact=terraform-sage
;;
esac
if [ $TARGET = x86_64-pc-windows-gnu ]; then
artefact=terraform-sage.exe
fi

test -f Cargo.lock || cargo generate-lockfile

Expand Down

0 comments on commit 30588bb

Please sign in to comment.