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
echo "An error occurred while running the dotnet nuget push command."
52
+
exit_code=1
53
+
}
54
+
55
+
echo "$output"
56
+
echo "Exit Code: $exit_code"
57
+
58
+
if echo "$output" | grep -q "403"; then
50
59
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'."
51
-
exit 1
60
+
exit 1
61
+
elif [ $exit_code -ne 0 ]; then
62
+
echo "Error: dotnet nuget push failed. Check the logs for more details."
63
+
exit 1
52
64
else
53
65
echo "Package successfully published to NuGet.org."
0 commit comments