Skip to content

Commit

Permalink
Make deploy script fail fast.
Browse files Browse the repository at this point in the history
  • Loading branch information
shakuzen committed Feb 18, 2022
1 parent b2ca5b9 commit 2a57b88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash -e
# This script will deploy the project artifacts.

# Exit script if a statement returns a non-true return value. Fail fast. Fail the build.
set -o errexit

SWITCHES="-s --console=plain -x test"
# circleci does not like multi-line values so they are base64 encoded
ORG_GRADLE_PROJECT_SIGNING_KEY="$(echo "$ORG_GRADLE_PROJECT_SIGNING_KEY" | base64 -d)"
Expand Down

0 comments on commit 2a57b88

Please sign in to comment.