Skip to content

[Easy] More informative release status #2345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ export PROMOTE_FROM_BRANCH=$1 PROMOTE_DEST_BRANCH=$2
STATUS=$(${DSS_HOME}/scripts/status.py HumanCellAtlas data-store $PROMOTE_FROM_BRANCH)
if [[ "$STATUS" != success ]]; then
if [[ $FORCE == "--force" ]]; then
echo "Status was $STATUS on branch $PROMOTE_FROM_BRANCH."
echo "Status checks failed on branch $PROMOTE_FROM_BRANCH. Forcing promotion and deployment anyway."
else
echo "Status was $STATUS on branch $PROMOTE_FROM_BRANCH."
echo "Status checks failed on branch $PROMOTE_FROM_BRANCH."
echo "Run with --force to promote $PROMOTE_FROM_BRANCH to $PROMOTE_DEST_BRANCH and deploy anyway."
exit 1
Expand Down