File tree Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 99 projects : progaudi.tarantool.sln
1010 arguments : -c Release
1111 verbosityRestore : minimal
12-
13- - task : Bash@3
14- displayName : set version variable
15- inputs :
16- targetType : inline
17- script : echo "##vso[task.setvariable variable=NugetPackageVersion]$(git describe --tags | sed 's/-/./')"
18-
19- - task : DotNetCoreCLI@2
20- displayName : pack nuget package
21- inputs :
22- command : pack
23- versioningScheme : byEnvVar
24- versionEnvVar : NugetPackageVersion
25- arguments : --no-build -c Release /property:PackageOutputPath=$(Build.ArtifactStagingDirectory)
26- verbosityPack : minimal
Original file line number Diff line number Diff line change 2727 steps :
2828 - template : .azure/build.yml
2929
30+ - task : PowerShell@2
31+ displayName : pack nuget package
32+ inputs :
33+ targetType : inline
34+ script : |
35+ $version = $(git describe --tags | %{$_ -replace '-([^g])', '.$1'})
36+ dotnet pack --no-build -v minimal -c Release /property:Version=$version /property:PackageOutputPath=$(Build.ArtifactStagingDirectory)
37+
3038 - ${{ if ne(variables['Build.Reason'], 'PullRequest') }} :
3139 - task : NuGetCommand@2
3240 displayName : push nuget packages
Original file line number Diff line number Diff line change 2828 </PropertyGroup >
2929
3030 <ItemGroup >
31- <PackageReference Include =" MsgPack.Light" Version =" 1.6.0 " />
31+ <PackageReference Include =" MsgPack.Light" Version =" 1.6.1 " />
3232 <PackageReference Include =" System.Net.NameResolution" Version =" 4.3.0" />
3333 <PackageReference Include =" System.Threading.Thread" Version =" 4.3.0" />
3434 </ItemGroup >
You can’t perform that action at this time.
0 commit comments