Skip to content

Commit a7e3074

Browse files
CLOUDP-311382: fix changelog release (#751)
1 parent dcb16d8 commit a7e3074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/cli/internal/changelog/changelog.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ func latestVersionActiveOnDate(date string, versions []string) (string, error) {
442442

443443
activeVersions := []time.Time{}
444444
for _, version := range versions {
445-
if apiversion.IsPreviewStabilityLevel(version) {
445+
// Only stable API can be the Active Version
446+
if apiversion.IsPreviewStabilityLevel(version) || apiversion.IsUpcomingStabilityLevel(version) {
446447
continue
447448
}
448449
versionTime, err := newDateFromString(version)

0 commit comments

Comments
 (0)