File tree 3 files changed +9
-16
lines changed
3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 9
9
projects : progaudi.tarantool.sln
10
10
arguments : -c Release
11
11
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 27
27
steps :
28
28
- template : .azure/build.yml
29
29
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
+
30
38
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }} :
31
39
- task : NuGetCommand@2
32
40
displayName : push nuget packages
Original file line number Diff line number Diff line change 28
28
</PropertyGroup >
29
29
30
30
<ItemGroup >
31
- <PackageReference Include =" MsgPack.Light" Version =" 1.6.0 " />
31
+ <PackageReference Include =" MsgPack.Light" Version =" 1.6.1 " />
32
32
<PackageReference Include =" System.Net.NameResolution" Version =" 4.3.0" />
33
33
<PackageReference Include =" System.Threading.Thread" Version =" 4.3.0" />
34
34
</ItemGroup >
You can’t perform that action at this time.
0 commit comments