Skip to content

Commit

Permalink
Merge pull request #6 from joncloud/prerelease
Browse files Browse the repository at this point in the history
Changes publish branch to be release
  • Loading branch information
joncloud authored Aug 4, 2020
2 parents a700a8e + 313bad4 commit 8eb1184
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,5 @@ ASALocalRun/
.localhistory/

launchSettings.json

.ionide
13 changes: 13 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,23 @@ variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
shouldPublish: $[eq(variables['Build.SourceBranch'], 'refs/heads/publish')]

steps:
- task: DotNetCoreCLI@2
displayName: Pack https
condition: eq(variables.shouldPublish, true)
inputs:
command: pack
publishWebProjects: false
packagesToPack: '**/https.csproj'
configuration: $(buildConfiguration)
packDirectory: $(build.ArtifactStagingDirectory)
versioningScheme: off

- task: DotNetCoreCLI@2
displayName: Pack https
condition: eq(variables.shouldPublish, false)
inputs:
command: pack
publishWebProjects: false
Expand Down
1 change: 0 additions & 1 deletion src/https/https.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

<PropertyGroup>
<VersionPrefix>0.2.0</VersionPrefix>
<VersionSuffix>local</VersionSuffix>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 8eb1184

Please sign in to comment.