diff --git a/RELEASING.md b/RELEASING.md index 4b21790c2d..c63e4bc7d1 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -49,7 +49,7 @@ To manually generate a new stable release you can run: ./scripts/release.sh atlascli/v1.0.0 ``` -**Note:** Please use the `atlascli/vX.Y.Z` or `mongocli/vX.Y.Z` format for the version to release +**Note:** Please use the `atlascli/vX.Y.Z` format for the version to release This will do the following things: 1. Tag a new version, ie: `git tag -a -s atlascli/v1.0.0 -m "atlascli/v1.0.0"` diff --git a/scripts/release.sh b/scripts/release.sh index f5aa53356e..8628226d5b 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -19,12 +19,12 @@ set -euo pipefail VERSION="${1-}" if [[ -z "${VERSION}" ]]; then - echo "Please provide a tag version in the format 'mongocli/vX.Y.Z' or 'atlascli/vX.Y.Z'" + echo "Please provide a tag version in the format 'atlascli/vX.Y.Z'" exit 1 fi if [[ "${VERSION}" != mongocli/v* ]] && [[ "${VERSION}" != atlascli/v* ]]; then - echo "Please provide a tag version in the format 'mongocli/vX.Y.Z' or 'atlascli/vX.Y.Z'" + echo "Please provide a tag version in the format 'atlascli/vX.Y.Z'" exit 1 fi