Skip to content

Commit

Permalink
- Clarify, fix release script paths for NuGet files (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 authored Aug 17, 2023
1 parent c5c302d commit 1bc9700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/unix/build_release_nuget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ bash scripts/unix/pack_nuget.sh "$PROJECT_NAME" || exit 1
bash scripts/unix/sign_nuget.sh "$AUTH_CERT_FILE" "$AUTH_CERT_PASSWORD" || exit 1

# Preset final information
NUGET_PACKAGE_FILE=$(find lib -name "*.nupkg")
NUGET_PACKAGE_FILE=$(find . -name "*.nupkg")
echo "NuGet file $NUGET_PACKAGE_FILE is ready."
1 change: 1 addition & 0 deletions scripts/unix/sign_nuget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ echo "Signing NuGet packages with $CERT_FILE for authenticity..."
# Should only be one .nupkg file at this point, since we deleted the old ones
for file in $(find "$FOLDER" -name "$FILE_PATTERN"); do
# Sign the file in-place
echo "Signing $file..."
dotnet nuget sign "$file" --timestamper "$TIMESTAMP_SERVER" --certificate-path "$CERT_FILE" --certificate-password "$CERT_PASSWORD"
done

0 comments on commit 1bc9700

Please sign in to comment.