Skip to content

Commit a7354d6

Browse files
Ignore -postfix parameter to PackEachExperiment if prerelease tag is not specified
This should hopefully be all we need for our release build
1 parent 201a8fe commit a7354d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
# Build All Packages
166166
- name: pack experiments
167167
working-directory: ./tooling/Scripts/
168-
run: ./PackEachExperiment.ps1 -date ${{ env.VERSION_DATE }} -postfix ${{ env.VERSION_PROPERTY }}
168+
run: ./PackEachExperiment.ps1 -date ${{ env.VERSION_DATE }}${{ env.VERSION_PROPERTY != '' && format(' -postfix {0}', env.VERSION_PROPERTY) || '' }}
169169

170170
# Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config)
171171
- name: Push Pull Request Packages (if not fork)

0 commit comments

Comments
 (0)