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
Sync eng/common directory with azure-sdk-tools for PR 1448 (Azure#17085)
* Added more logging to API view create
* Updated logs with arch board rescue email address
* Fix as per review comments
* Update logging to show API URL
Co-authored-by: praveenkuttappan <[email protected]>
Write-Host"Package version is not GA. Ignoring API view approval status"
@@ -110,12 +114,16 @@ foreach ($pkgName in $responses.Keys)
110
114
$FoundFailure=$True
111
115
if ($respCode-eq'201')
112
116
{
113
-
Write-Error"Automatic API Review approval is pending for package $($PackageName)"
117
+
Write-Host"Package version $($version) is GA and automatic API Review is not yet approved for package $($PackageName)."
118
+
Write-Host"Build and release is not allowed for GA package without API review approval."
119
+
Write-Host"You will need to queue another build to proceed further after API review is approved"
120
+
Write-Host"You can check http://aka.ms/azsdk/engsys/apireview/faq for more details on API Approval."
114
121
}
115
122
else
116
123
{
117
-
Write-Error"Failed to create API Review for package $($PackageName)"
118
-
}
124
+
Write-Host"Failed to create API Review for package $($PackageName). Please reach out to Azure SDK engineering systems on teams channel and share this build details."
125
+
}
126
+
exit1
119
127
}
120
128
else
121
129
{
@@ -124,8 +132,3 @@ foreach ($pkgName in $responses.Keys)
124
132
}
125
133
}
126
134
}
127
-
if ($FoundFailure)
128
-
{
129
-
Write-Error"Automatic API review is not yet approved for package $($PackageName)"
0 commit comments