Skip to content

Commit

Permalink
Add support for git-lfs in testflight
Browse files Browse the repository at this point in the history
  • Loading branch information
bgandon committed Feb 13, 2024
1 parent ca3fef8 commit 587efb1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ci/scripts/testflight
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ set -eu
: ${BOSH_CLIENT_SECRET:?required}
: ${BOSH_DEPLOYMENT:?required}
: ${MANIFEST_PATH:?required}
IGNORE_GIT_DIRTY_STATE=${IGNORE_GIT_DIRTY_STATE:-""}
DEBUG=${DEBUG:-}
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

Expand Down Expand Up @@ -92,8 +93,12 @@ blobstore:
secret_access_key: ${AWS_SECRET_KEY:?required}
YAML
fi

bosh create-release
create_release_args=()
if [[ "${IGNORE_GIT_DIRTY_STATE:-X}" != "X" \
&& -n "$(git status --porcelain)" ]]; then
create_release_args+=("--force")
fi
bosh create-release "${create_release_args[@]}"
bosh upload-release --rebase

header "Deploying to ${BOSH_ENVIRONMENT}..."
Expand Down

0 comments on commit 587efb1

Please sign in to comment.