Fix variable names used in concourse stage script

This commit is contained in:
Phillip Webb 2018-01-30 14:31:24 -08:00
parent faffea5dff
commit 2f834b377c
1 changed files with 2 additions and 2 deletions

View File

@ -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;