Skip to content

Commit

Permalink
release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Sep 18, 2023
1 parent 8f90e88 commit e7be5ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pool:

variables:
buildConfiguration: 'Release'
releaseNotes2: $[replace($(releaseNotes), '"', '''''')]

stages:
- stage: publish
Expand All @@ -26,13 +25,15 @@ stages:
includePreviewVersions: true

- task: DotNetCoreCLI@2
env:
ReleaseNotes: $[replace($(releaseNotes), '"', '''''')]
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
includesymbols: true
versioningScheme: 'byEnvVar'
versionEnvVar: 'Build.BuildNumber'
buildProperties: 'NoWarn="0419;1573;1591";ContinuousIntegrationBuild=true;Version=$(Build.BuildNumber);ReleaseNotes="$(releaseNotes)"'
buildProperties: 'NoWarn="0419;1573;1591";ContinuousIntegrationBuild=true;Version=$(Build.BuildNumber);ReleaseNotes="$ReleaseNotes"'

- task: NuGetCommand@2
inputs:
Expand Down

0 comments on commit e7be5ac

Please sign in to comment.