diff --git a/.circleci/update-releases.sh b/.circleci/update-releases.sh index d3500a3ce0e6c..1f5f527c4d086 100644 --- a/.circleci/update-releases.sh +++ b/.circleci/update-releases.sh @@ -3,7 +3,7 @@ set -euvo pipefail IFS=$'\n\t' curl -H "Content-Type: application/json" -H "X-Update-Token: $UPDATE_TOKEN" -d \ - "{\"commit\": \"$CIRCLE_SHA1\", \"tag\": \"$CIRCLE_TAG\", \"branch\": \"$CIRCLE_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"$RC_RELEASE\" }" \ + "{\"commit\": \"$CIRCLE_SHA1\", \"tag\": \"$RC_VERSION\", \"branch\": \"$CIRCLE_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"$RC_RELEASE\" }" \ https://releases.rocket.chat/update # Makes build fail if the release isn't there