Skip to content

Commit 5557525

Browse files
authored
Merge pull request #4 from dotnet/9.1
Update to 9.1
2 parents 9013f9a + 965ea47 commit 5557525

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto
2+
*.sh text eol=lf
3+
*.txt text eol=lf

.github/workflows/test.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
features:
16-
- color
17-
- hello
16+
- dotnetaspire
1817
baseImage:
1918
- debian:latest
2019
- ubuntu:latest
@@ -34,8 +33,7 @@ jobs:
3433
strategy:
3534
matrix:
3635
features:
37-
- color
38-
- hello
36+
- dotnetaspire
3937
steps:
4038
- uses: actions/checkout@v4
4139

src/dotnetaspire/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Installs .NET Aspire. See https://aka.ms/dotnetaspire
1515

1616
| Options Id | Description | Type | Default Value |
1717
|-----|-----|-----|-----|
18-
| version | Select or enter a .NET Aspire version. Use 'latest' for the latest supported version, '9.0' for the 9.0 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build. | string | 9.0 |
18+
| version | Select or enter a .NET Aspire version. Use 'latest' for the latest supported version, '9.1' for the 9.1 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build. | string | 9.1 |
1919

2020
## Customizations
2121

src/dotnetaspire/devcontainer-feature.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"proposals": [
1111
"latest daily",
1212
"latest",
13-
"9.0",
13+
"9.1",
1414
],
15-
"default": "9.0",
16-
"description": "Select or enter a .NET Aspire version. Use 'latest' for the latest supported version, '9.0' for the 9.0 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build."
15+
"default": "9.1",
16+
"description": "Select or enter a .NET Aspire version. Use 'latest' for the latest supported version, '9.1' for the 9.1 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build."
1717
},
1818
},
1919
"customizations": {

src/dotnetaspire/install.sh

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

16-
if [[ ! $VERSION =~ ^(9\.0|latest|latest-daily)$ ]]; then
17-
echo "Error: VERSION must be either '9.0', '9.0.0', 'latest', or 'latest-daily' not: '$VERSION'."
16+
if [[ ! $VERSION =~ ^(9\.1|latest|latest-daily)$ ]]; then
17+
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
22-
VERSION="9.0.0"
21+
if [[ $VERSION =~ ^(9\.1|9\.1\.0|latest)$ ]]; then
22+
VERSION="9.1.0"
2323
fi
2424

2525
echo "Activating feature '.NET Aspire' version: $VERSION"
2626

27-
# Before .NET Aspire 9.0 install required `dotnet workload`: this is no longer necessary, as Aspire is
27+
# Before .NET Aspire 9.1 install required `dotnet workload`: this is no longer necessary, as Aspire is
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
32-
dotnet new install Aspire.ProjectTemplates::$VERSION
31+
if [[ $VERSION =~ ^(9\.1\.0)$ ]]; then
32+
dotnet new install --force Aspire.ProjectTemplates::$VERSION
3333
else
3434
# https://github.com/dotnet/aspire/blob/main/docs/using-latest-daily.md
3535
dotnet nuget add source --name dotnet9 https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json

test/dotnetaspire/scenarios.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
55
"dotnetaspire": {
6-
"version": "9.0"
6+
"version": "9.1"
77
}
88
}
99
},

0 commit comments

Comments
 (0)