Skip to content

Commit

Permalink
chore: Remove CANDIDATE_VERSION check from regression tests (aws#10897)
Browse files Browse the repository at this point in the history
This check breaks the release pipeline, and isn't _strictly_ necessary for the
master pipeline either.
  • Loading branch information
njlynch authored Oct 15, 2020
1 parent 61e6473 commit a6a3f46
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/aws-cdk/test/integ/test-cli-regression.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ function run_regression_against_framework_version() {
exit 1
fi

if [[ ! "${CANDIDATE_VERSION}" =~ "rc" ]]; then
echo "Unexpected CANDIDATE_VERSION: ${CANDIDATE_VERSION}. Must be set to a pre-release version. Did you forget to run './bump-candiate.sh' before packing?"
exit 1
fi

SUPPORTED_FRAMEWORK_VERSION_IDENTIFIERS=("CANDIDATE_VERSION PREVIOUS_VERSION")
FRAMEWORK_VERSION_IDENTIFIER=$1
if [[ ! " ${SUPPORTED_FRAMEWORK_VERSION_IDENTIFIERS[@]} " =~ " ${FRAMEWORK_VERSION_IDENTIFIER} " ]]; then
Expand Down

0 comments on commit a6a3f46

Please sign in to comment.