You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds an explicit error message when a 403 response is received, indicating an invalid or expired NuGet API key. This will help users quickly identify issues with the API key and understand how to resolve them. Additionally, a success message is displayed when the package is successfully published to NuGet.org.
echo "Error: NuGet API key is invalid or expired. Please contact Quantori support to renew the key. For more details, refer to the Quantori BDD Confluence page called 'Renew NuGet API key'."
58
+
exit 1
59
+
elif [ $exit_code -ne 0 ]; then
60
+
echo "Error: dotnet nuget push failed with exit code $exit_code. Check the logs for more details."
61
+
exit $exit_code
62
+
else
63
+
echo "Package successfully published to NuGet.org."
0 commit comments