Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CLI component versions for 2.16.0 #3818

Merged
merged 3 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/scripts/manifest_verification/check_sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,18 @@ async function main() {
}

// If not a commit, check repo tags
const tags = await octokit.rest.repos.listTags({
owner: 'zowe',
repo: repo,
}).then((resp) => {
if (resp.status < 400) {
return resp.data;
// requires paginate API.

const tags = await octokit.paginate(
"GET /repos/{owner}/{repo}/tags",
{
owner: 'zowe',
repo: repo,
}
return [];
})
).then((resp) => {
// resp is the aggregated data from paginate.. [ { name: 'tag-a', ..other-fields.. }, {}, {}, ...]
return resp;
});

const knownTag = tags.find((item) => item.name === tag);
if (knownTag != null && knownTag.name.trim().length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/manifest_verification/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions manifest.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -217,21 +217,21 @@
"componentGroup": "Zowe CLI",
"entries": [{
"repository": "zowe-cli",
"tag": "v7.23.3",
"tag": "v7.24.1",
"destinations": ["Zowe CLI Package"]
}]
}, {
"componentGroup": "IBM&reg CICS&reg Plug-in for Zowe CLI",
"entries": [{
"repository": "zowe-cli-cics-plugin",
"tag": "v5.0.4",
"repository": "cics-for-zowe-client",
"tag": "v5.0.5",
"destinations": ["Zowe CLI Package"]
}]
}, {
"componentGroup": "IBM&reg Db2&reg Plug-in for Zowe CLI",
"entries": [{
"repository": "zowe-cli-db2-plugin",
"tag": "v5.0.6",
"tag": "v5.0.7",
"destinations": ["Zowe CLI Package"]
}]
}, {
Expand All @@ -245,7 +245,7 @@
"componentGroup": "z/OS&reg FTP Plug-in for Zowe CLI",
"entries": [{
"repository": "zowe-cli-ftp-plugin",
"tag": "v2.1.8",
"tag": "v2.1.9",
"destinations": ["Zowe CLI Package"]
}]
}, {
Expand Down
Loading