Skip to content

Commit 313bad4

Browse files
committed
Changes publish branch to be release
1 parent a700a8e commit 313bad4

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,5 @@ ASALocalRun/
334334
.localhistory/
335335

336336
launchSettings.json
337+
338+
.ionide

azure-pipelines.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,23 @@ variables:
88
solution: '**/*.sln'
99
buildPlatform: 'Any CPU'
1010
buildConfiguration: 'Release'
11+
shouldPublish: $[eq(variables['Build.SourceBranch'], 'refs/heads/publish')]
1112

1213
steps:
1314
- task: DotNetCoreCLI@2
1415
displayName: Pack https
16+
condition: eq(variables.shouldPublish, true)
17+
inputs:
18+
command: pack
19+
publishWebProjects: false
20+
packagesToPack: '**/https.csproj'
21+
configuration: $(buildConfiguration)
22+
packDirectory: $(build.ArtifactStagingDirectory)
23+
versioningScheme: off
24+
25+
- task: DotNetCoreCLI@2
26+
displayName: Pack https
27+
condition: eq(variables.shouldPublish, false)
1528
inputs:
1629
command: pack
1730
publishWebProjects: false

src/https/https.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<PropertyGroup>
1010
<VersionPrefix>0.2.0</VersionPrefix>
11-
<VersionSuffix>local</VersionSuffix>
1211
</PropertyGroup>
1312

1413
<PropertyGroup>

0 commit comments

Comments
 (0)