Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 21adec8

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 6f120f2 commit 21adec8

File tree

7 files changed

+5303
-20
lines changed

7 files changed

+5303
-20
lines changed

build.cmd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1616

1717
:restore
1818
IF EXIST packages\KoreBuild goto run
19-
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
19+
IF DEFINED BUILDCMD_RELEASE (
20+
.nuget\NuGet.exe install KoreBuild -version 0.2.1-%BUILDCMD_RELEASE% -ExcludeVersion -o packages -nocache -pre
21+
) ELSE (
22+
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
23+
)
2024
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
2125

2226
IF "%SKIP_DNX_INSTALL%"=="1" goto run
23-
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
27+
IF DEFINED BUILDCMD_RELEASE (
28+
CALL packages\KoreBuild\build\dnvm install 1.0.0-%BUILDCMD_RELEASE% -runtime CLR -arch x86 -a default
29+
) ELSE (
30+
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
31+
)
2432
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86
2533

2634
:run
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
{
2-
"version": "1.0.0-*",
1+
{
2+
"version": "1.0.0-beta5",
33
"description": "ASP.NET 5 Configuration extensions to load user secrets.",
44
"dependencies": {
5-
"Microsoft.Framework.Configuration.Json": "1.0.0-*",
6-
"Microsoft.Framework.NotNullAttribute.Sources": { "type": "build", "version": "1.0.0-*" }
5+
"Microsoft.Framework.Configuration.Json": "1.0.0-beta5",
6+
"Microsoft.Framework.NotNullAttribute.Sources": { "type": "build", "version": "1.0.0-beta5" }
77
},
88
"frameworks": {
99
"dnx451": { },
1010
"dnxcore50": {
1111
"dependencies": {
12-
"System.Runtime": "4.0.20-beta-*"
12+
"System.Runtime": "4.0.20-beta-23019"
1313
}
1414
}
1515
}
16-
}
16+
}

0 commit comments

Comments
 (0)