We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585fcc9 commit fc1b453Copy full SHA for fc1b453
1 file changed
.github/workflows/nbgv_dotnet_pack.yml
@@ -73,11 +73,12 @@ jobs:
73
74
- name: 📦 Pack
75
run: |
76
- EXTRA_FLAGS=""
77
- if [ "${{ inputs.force_dev_prerelease }}" = "true" ]; then
78
- EXTRA_FLAGS="--include-symbols --include-source"
+ if [[ "${{ inputs.semver2 }}" == *-* ]]; then
+ dotnet pack … --include-symbols --include-source …
+ else
79
+ dotnet pack …
80
fi
-
81
+
82
PUBLIC_RELEASE_FLAG=""
83
if [ "${{ inputs.build_configuration }}" = "Release" ]; then
84
PUBLIC_RELEASE_FLAG="-p:PublicRelease=true"
@@ -151,4 +152,4 @@ jobs:
151
152
body_path: release-notes.md
153
prerelease: ${{ contains(inputs.semver2, '-') }}
154
env:
- GITHUB_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
155
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
0 commit comments