Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fmenezes committed Mar 4, 2024
1 parent 1c5efac commit 78fe656
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 78fe656

Please sign in to comment.