Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Commit 2a18748

Browse files
committed
Remove IncludeSymbols and IncludeSource properties from package commands in workflows
1 parent a18a6b1 commit 2a18748

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/hf-rc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,8 @@ jobs:
787787
/p:AssemblyVersion=${ASSEMBLY_VERSION} \
788788
/p:FileVersion=${ASSEMBLY_VERSION} \
789789
/p:InformationalVersion=${RC_VERSION} \
790+
/p:IncludeSymbols=false \
791+
/p:IncludeSource=false \
790792
/p:ContinuousIntegrationBuild=true
791793
restore_runtimes
792794
}
@@ -922,7 +924,7 @@ jobs:
922924
exit 1
923925
fi
924926
shopt -s nullglob
925-
files=(artifacts/packages/*.nupkg artifacts/packages/*.snupkg)
927+
files=(artifacts/packages/*.nupkg)
926928
if [ ${#files[@]} -eq 0 ]; then
927929
echo "No package files available for the release." >&2
928930
exit 1

.github/workflows/hf-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ jobs:
445445
/p:AssemblyVersion=${ASSEMBLY_VERSION} \
446446
/p:FileVersion=${ASSEMBLY_VERSION} \
447447
/p:InformationalVersion=${RELEASE_VERSION} \
448+
/p:IncludeSymbols=false \
449+
/p:IncludeSource=false \
448450
/p:ContinuousIntegrationBuild=true
449451
restore_runtimes
450452
}
@@ -582,7 +584,7 @@ jobs:
582584
exit 1
583585
fi
584586
shopt -s nullglob
585-
files=(artifacts/packages/*.nupkg artifacts/packages/*.snupkg)
587+
files=(artifacts/packages/*.nupkg)
586588
if [ ${#files[@]} -eq 0 ]; then
587589
echo "No packages found to attach to the release." >&2
588590
exit 1

0 commit comments

Comments
 (0)