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
Copy file name to clipboardExpand all lines: doc/dev/mgmt/tests.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ providing several features useful for the SDK tests, for example:
176
176
* Patches for overriding functions and methods that don't work well with tests
177
177
(such as long-running operations)
178
178
179
-
Code in the [`azure-sdk-tools/devtools_testutils`](tools/azure-sdk-tools/devtools_testutils) directory
179
+
Code in the [`azure-sdk-tools/devtools_testutils`](https://github.com/Azure/azure-sdk-for-python/tree/master/tools/azure-sdk-tools/devtools_testutils) directory
180
180
provides concrete implementations of the features provided in `scenario_tests`
if ([System.String]::IsNullOrEmpty($changeLogEntry.ReleaseStatus)) {
91
-
Write-Host ("##[error]Changelog '{0}' has wrong release note title"-f$ChangeLogLocation)
92
-
Write-Host"##[info]Ensure the release date is included i.e. (yyyy-MM-dd) or (Unreleased) if not yet released"
93
-
exit1
106
+
Write-Error"Entry does not have a correct release status. Please ensure the status is set to a date '(yyyy-MM-dd)' or '(Unreleased)' if not yet released."
107
+
return$false
94
108
}
95
109
96
110
if ($ForRelease-eq$True) {
97
111
if ($changeLogEntry.ReleaseStatus-eq"(Unreleased)") {
98
-
Write-Host ("##[error]No release date set. Please set a release date with format 'yyyy-MM-dd' in the heading for version '{0}' in the changelog '{1}'."-f$VersionString,$ChangelogLocation)
99
-
exit1
112
+
Write-Error"Entry has no release date set. Please ensure to set a release date with format 'yyyy-MM-dd'."
113
+
return$false
100
114
}
101
115
102
116
if ([System.String]::IsNullOrWhiteSpace($changeLogEntry.ReleaseContent)) {
103
-
Write-Host ("##[error]Empty Release Notes for '{0}' in '{1}'"-f$VersionString,$ChangeLogLocation)
104
-
Write-Host"##[info]Please ensure there is a release notes entry before releasing the package."
105
-
exit1
117
+
Write-Error"Entry has no content. Please ensure to provide some content of what changed in this version."
0 commit comments