File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 27
27
<PackageReleaseNotes ></PackageReleaseNotes >
28
28
<PackageTags >bencode;torrent;torrents</PackageTags >
29
29
<GeneratePackageOnBuild >False</GeneratePackageOnBuild >
30
- <SemVer Condition =" '$(SemVer)' == ''" >1.0.0</SemVer >
31
- <Version >$(SemVer)</Version >
30
+ <Version Condition =" '$(SemVer)' != ''" >$(SemVer)</Version >
32
31
<IncludeSource >True</IncludeSource >
33
32
<IncludeSymbols >True</IncludeSymbols >
34
33
</PropertyGroup >
Original file line number Diff line number Diff line change 13
13
steps :
14
14
15
15
- task : PowerShell@2
16
+ name : GitVersion
16
17
displayName : run gitversion
17
18
inputs :
18
19
targetType : ' inline'
39
40
packDirectory : ' $(Pipeline.Workspace)/Packages'
40
41
nobuild : true
41
42
versioningScheme : ' off'
43
+ buildProperties : ' SemVer=$(GitVersion.SemVer)'
42
44
verbosityPack : ' Normal'
43
45
44
46
- task : PublishPipelineArtifact@1
You can’t perform that action at this time.
0 commit comments