You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set platform to when(isAlpine, "linux-musl", "linux") ^
21
+
22
+
set sdkBuildVersion to VARIABLES[cat("sdk|", dotnetVersion, "|build-version")] ^
23
+
set isStableBranding to find(sdkBuildVersion, "-servicing") >= 0 || find(sdkBuildVersion, "-rtm") >= 0 ^
24
+
25
+
_ Set versions explicitly, and dynamically replace them based on whether they match the env/local variables. ^
26
+
_ For preview (non-stable) versions, the full build version is always in the file name. ^
27
+
set fileVersion to when(isStableBranding, productVersion, buildVersion) ^
28
+
set versionDir to buildVersion ^
29
+
30
+
set versionVariable to
31
+
when(ARGS["is-composite-runtime"],
32
+
when(ARGS["use-local-version-var"],
33
+
"aspnetcore_version",
34
+
"ASPNET_VERSION"),
35
+
when(ARGS["use-local-version-var"],
36
+
"dotnet_version",
37
+
"DOTNET_VERSION")) ^
38
+
39
+
set versionVariableValue to buildVersion ^
40
+
if (versionDir = versionVariableValue):{{
41
+
set versionDir to cat("$", versionVariable)
42
+
}}^
43
+
if (fileVersion = versionVariableValue):{{
44
+
set fileVersion to cat("$", versionVariable)
45
+
}}^
46
+
34
47
set baseUrl to VARIABLES[cat("dotnet|", dotnetVersion, "|base-url|", VARIABLES["branch"])] ^
35
-
set runtimeBaseUrl to cat(baseUrl, "/Runtime/", runtimeVersionDir, "/") ^
36
-
set aspnetCompositeUrl to cat(baseUrl, "/aspnetcore/Runtime/", aspnetCompositeVersionDir, "/aspnetcore-runtime-composite-", aspnetCompositeVersionFile,
0 commit comments