File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Microsoft.OpenApi.Readers Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
- if " %~1 " == " " goto :error
3
-
4
- SET VERSION = %~1
5
-
6
2
Echo Building Microsoft.OpenApi
7
3
8
4
SET PROJ = %~dp0 src\Microsoft.OpenApi\Microsoft.OpenApi.csproj
9
5
dotnet build %PROJ% /t:restore /p:Configuration=Release
10
6
dotnet build %PROJ% /t:build /p:Configuration=Release
11
- dotnet build %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0 artifacts;Version= %VERSION%
7
+ dotnet build %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0 artifacts
12
8
13
9
Echo Building Microsoft.OpenApi.Readers
14
10
15
11
SET PROJ = %~dp0 src\Microsoft.OpenApi.Readers\Microsoft.OpenApi.Readers.csproj
16
12
dotnet build %PROJ% /t:restore /p:Configuration=Release
17
13
dotnet build %PROJ% /t:build /p:Configuration=Release
18
- dotnet build %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0 artifacts;Version= %VERSION%
14
+ dotnet build %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0 artifacts
19
15
20
16
goto :end
21
17
:error
Original file line number Diff line number Diff line change 10
10
<Company >Microsoft</Company >
11
11
<Title >Microsoft.OpenApi.Readers</Title >
12
12
<PackageId >Microsoft.OpenApi.Readers</PackageId >
13
- <Version >1.1.4 </Version >
13
+ <Version >1.2.0-preview </Version >
14
14
<Description >OpenAPI.NET Readers for JSON and YAML documents</Description >
15
15
<Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
16
16
<PackageTags >OpenAPI .NET</PackageTags >
Original file line number Diff line number Diff line change 10
10
<Company >Microsoft</Company >
11
11
<Title >Microsoft.OpenApi</Title >
12
12
<PackageId >Microsoft.OpenApi</PackageId >
13
- <Version >1.1.4 </Version >
13
+ <Version >1.2.0-preview </Version >
14
14
<Description >.NET models with JSON and YAML writers for OpenAPI specification</Description >
15
15
<Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
16
16
<PackageTags >OpenAPI .NET</PackageTags >
You can’t perform that action at this time.
0 commit comments