Skip to content

Commit 7d87298

Browse files
authored
Update to a more recent Arcade SDK (dotnet#512)
1 parent a70ee64 commit 7d87298

File tree

6 files changed

+39
-6
lines changed

6 files changed

+39
-6
lines changed

NuGet.config

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
44
<clear />
55
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
66
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
7+
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
8+
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
79
</packageSources>
810
</configuration>

eng/Version.Details.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19257.7">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.20230.5">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>bda52d7619f9420de46f2c39ffc972864bbcab63</Sha>
8+
<Sha>5fd50687c9a9f39bd2ee8221165ea9c1b3f565d9</Sha>
99
</Dependency>
1010
</ToolsetDependencies>
1111
</Dependencies>

eng/Versions.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<RestoreSources>
77
$(RestoreSources);
88
https://api.nuget.org/v3/index.json;
9-
</RestoreSources>
9+
</RestoreSources>
1010
</PropertyGroup>
1111
</Project>

eng/common/templates/post-build/post-build.yml

+24
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,28 @@ stages:
365365
channelId: 760
366366
transportFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v3/index.json'
367367
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal/nuget/v3/index.json'
368+
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-symbols/nuget/v3/index.json'
369+
370+
- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
371+
parameters:
372+
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
373+
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
374+
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
375+
stageName: 'NETCore_SDK_314xx_Publishing'
376+
channelName: '.NET Core SDK 3.1.4xx'
377+
channelId: 921
378+
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json'
379+
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1/nuget/v3/index.json'
380+
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-symbols/nuget/v3/index.json'
381+
382+
- template: \eng\common\templates\post-build\channels\generic-internal-channel.yml
383+
parameters:
384+
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
385+
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
386+
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
387+
stageName: 'NETCore_SDK_314xx_Internal_Publishing'
388+
channelName: '.NET Core SDK 3.1.4xx Internal'
389+
channelId: 922
390+
transportFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v3/index.json'
391+
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal/nuget/v3/index.json'
368392
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-symbols/nuget/v3/index.json'

eng/common/tools.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,14 @@ function InstallDotNet {
210210

211211
local runtimeSourceFeedKey=''
212212
if [[ -n "${7:-}" ]]; then
213-
decodedFeedKey=`echo $7 | base64 --decode`
213+
# The 'base64' binary on alpine uses '-d' and doesn't support '--decode'
214+
# '-d'. To work around this, do a simple detection and switch the parameter
215+
# accordingly.
216+
decodeArg="--decode"
217+
if base64 --help 2>&1 | grep -q "BusyBox"; then
218+
decodeArg="-d"
219+
fi
220+
decodedFeedKey=`echo $7 | base64 $decodeArg`
214221
runtimeSourceFeedKey="--feed-credential $decodedFeedKey"
215222
fi
216223

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"dotnet": "3.1.101"
44
},
55
"msbuild-sdks": {
6-
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19459.10"
6+
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.20230.5"
77
}
88
}

0 commit comments

Comments
 (0)