From 2f834b377c8ae1078e47f7f60189d57b1a97bcca Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 30 Jan 2018 14:31:24 -0800 Subject: [PATCH] Fix variable names used in concourse stage script --- ci/scripts/stage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/scripts/stage.sh b/ci/scripts/stage.sh index 35c99226a7..ade114714a 100755 --- a/ci/scripts/stage.sh +++ b/ci/scripts/stage.sh @@ -17,10 +17,10 @@ if [[ $RELEASE_TYPE = "M" ]]; then stageVersion=$( get_next_milestone_release $snapshotVersion) nextVersion=$snapshotVersion elif [[ $RELEASE_TYPE = "RC" ]]; then - stage=$( get_next_rc_release $snapshotVersion) + stageVersion=$( get_next_rc_release $snapshotVersion) nextVersion=$snapshotVersion elif [[ $RELEASE_TYPE = "RELEASE" ]]; then - stage=$( strip_snapshot_suffix $snapshotVersion) + stageVersion=$( strip_snapshot_suffix $snapshotVersion) nextVersion=$( bump_version_number $snapshotVersion) else echo "Unknown release type $RELEASE_TYPE" >&2; exit 1;