Skip to content

Commit 8761aae

Browse files
committed
typo
1 parent 0499b89 commit 8761aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dotnetaspire/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ set -e
1313
# default to latest if not specified
1414
VERSION="${VERSION:-"latest"}"
1515

16-
if [[ ! $VERSION =~ ^(9\.0|latest|latest-daily)$ ]]; then
16+
if [[ ! $VERSION =~ ^(9\.1|latest|latest-daily)$ ]]; then
1717
echo "Error: VERSION must be either '9.1', '9.1.0', 'latest', or 'latest-daily' not: '$VERSION'."
1818
exit 1
1919
fi
2020

21-
if [[ $VERSION =~ ^(9\.0|9\.0\.0|latest)$ ]]; then
21+
if [[ $VERSION =~ ^(9\.1|9\.1\.0|latest)$ ]]; then
2222
VERSION="9.1.0"
2323
fi
2424

@@ -28,7 +28,7 @@ echo "Activating feature '.NET Aspire' version: $VERSION"
2828
# installed when restoring Aspire projects. It's only necessary to install the appropriate version of the templates.
2929

3030

31-
if [[ $VERSION =~ ^(9\.0\.0)$ ]]; then
31+
if [[ $VERSION =~ ^(9\.1\.0)$ ]]; then
3232
dotnet new install Aspire.ProjectTemplates::$VERSION
3333
else
3434
# https://github.com/dotnet/aspire/blob/main/docs/using-latest-daily.md

0 commit comments

Comments
 (0)