Skip to content

Commit f0f360d

Browse files
Refactor to CLI arguments
1 parent ebc1e21 commit f0f360d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build/steps-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ steps:
1515
inputs:
1616
command: pack
1717
projects: ${{ parameters.solution }}
18-
arguments: --configuration ${{ parameters.configuration }}
19-
buildProperties: VersionSuffix=${{ parameters.versionSuffix }}
18+
${{ if eq(parameters.versionSuffix, '') }}:
19+
arguments: --configuration ${{ parameters.configuration }}
20+
${{ else }}:
21+
arguments: --configuration ${{ parameters.configuration }} --version-suffix ${{ parameters.versionSuffix }}
2022
outputDir: $(Build.ArtifactStagingDirectory)/packages
2123
noBuild: true
2224

0 commit comments

Comments
 (0)