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
if ([System.String]::IsNullOrEmpty($changeLogEntry.ReleaseStatus)) {
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
108
+
}
109
+
110
+
if ($ForRelease-eq$True) {
111
+
if ($changeLogEntry.ReleaseStatus-eq"(Unreleased)") {
112
+
Write-Error"Entry has no release date set. Please ensure to set a release date with format 'yyyy-MM-dd'."
113
+
return$false
114
+
}
115
+
116
+
if ([System.String]::IsNullOrWhiteSpace($changeLogEntry.ReleaseContent)) {
117
+
Write-Error"Entry has no content. Please ensure to provide some content of what changed in this version."
Write-Error"The function '${ExtractPkgProps}' was not found."
102
+
}
103
+
104
+
if ($pkgProps-ne$null)
105
+
{
106
+
return$pkgProps
107
+
}
108
+
}
109
+
Write-Error"Failed to retrive Properties for $PackageName"
110
+
}
111
+
112
+
# Takes ServiceName and Repo Root Directory
113
+
# Returns important properties for each package in the specified service, or entire repo if the serviceName is not specified
114
+
# Returns an Table of service key to array values of PS Object with properties @ { pkgName, pkgVersion, pkgDirectoryPath, pkgReadMePath, pkgChangeLogPath }
0 commit comments