File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,8 @@ mkdir -p changelog/revision
1111cp openapi/v2/openapi-* .json changelog/revision/
1212
1313echo " Generating revision metadata file"
14- # CLOUDP-311382: This change avoid to conside upcoming for the changelog for now.
1514# We will revert this change once we add support for upcoming to changelog.
16- revision_version=$( < openapi/v2/versions.json jq -r '
17- .[] | select(. != "preview" and (endswith(".upcoming") | not))
18- ' | paste -sd ' ,' -)
15+ revision_version=$( < openapi/v2/versions.json jq -r ' .[]' | paste -sd ' ,' - | sed " s/,preview//" )
1916RELEASE_SHA=$( < foas-metadata.json jq -r ' .services[] | select(.name=="mms") | .sha' )
2017foascli changelog metadata create --sha " ${RELEASE_SHA} " --versions=" ${revision_version} " > changelog/revision/metadata.json
2118cat changelog/revision/metadata.json
You can’t perform that action at this time.
0 commit comments