Fix variable names used in concourse stage script

pull/11856/head
Phillip Webb 7 years ago
parent faffea5dff
commit 2f834b377c

@ -17,10 +17,10 @@ if [[ $RELEASE_TYPE = "M" ]]; then
stageVersion=$( get_next_milestone_release $snapshotVersion) stageVersion=$( get_next_milestone_release $snapshotVersion)
nextVersion=$snapshotVersion nextVersion=$snapshotVersion
elif [[ $RELEASE_TYPE = "RC" ]]; then elif [[ $RELEASE_TYPE = "RC" ]]; then
stage=$( get_next_rc_release $snapshotVersion) stageVersion=$( get_next_rc_release $snapshotVersion)
nextVersion=$snapshotVersion nextVersion=$snapshotVersion
elif [[ $RELEASE_TYPE = "RELEASE" ]]; then elif [[ $RELEASE_TYPE = "RELEASE" ]]; then
stage=$( strip_snapshot_suffix $snapshotVersion) stageVersion=$( strip_snapshot_suffix $snapshotVersion)
nextVersion=$( bump_version_number $snapshotVersion) nextVersion=$( bump_version_number $snapshotVersion)
else else
echo "Unknown release type $RELEASE_TYPE" >&2; exit 1; echo "Unknown release type $RELEASE_TYPE" >&2; exit 1;

Loading…
Cancel
Save