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

chore(scripts): adds script to tag a target version-group as latest #5947

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Mar 29, 2024

This script can be run to generate a set of commands to tag a version-group (a set of versions that were the "latest" together at some point in time) as the latest on NPM.

Example output:

node scripts/npm-registry/mark-version-as-latest.mjs
What is the version that should become [latest] (e.g. 3.512.0 no v-prefix)?
3.100.0
npm dist-tag add @aws-sdk/lib-dynamodb@3.100.0 latest
npm dist-tag add @aws-sdk/lib-storage@3.100.0 latest
npm dist-tag add @aws-sdk/body-checksum-browser@3.78.0 latest
npm dist-tag add @aws-sdk/body-checksum-node@3.78.0 latest
npm dist-tag add @aws-sdk/chunked-stream-reader-node@3.55.0 latest
npm dist-tag add @aws-sdk/cloudfront-signer@3.90.0 latest
# @aws-sdk/core does not exist at or below 3.100.0.
npm dist-tag add @aws-sdk/credential-provider-cognito-identity@3.100.0 latest
npm dist-tag add @aws-sdk/credential-provider-env@3.78.0 latest
# @aws-sdk/credential-provider-http does not exist at or below 3.100.0.
npm dist-tag add @aws-sdk/credential-provider-ini@3.100.0 latest
npm dist-tag add @aws-sdk/credential-provider-node@3.100.0 latest
npm dist-tag add @aws-sdk/credential-provider-process@3.80.0 latest
npm dist-tag add @aws-sdk/credential-provider-sso@3.100.0 latest
npm dist-tag add @aws-sdk/credential-provider-web-identity@3.78.0 latest
npm dist-tag add @aws-sdk/credential-providers@3.100.0 latest
# @aws-sdk/ec2-metadata-service does not exist at or below 3.100.0.
npm dist-tag add @aws-sdk/endpoint-cache@3.55.0 latest
npm dist-tag add @aws-sdk/eventstream-handler-node@3.78.0 latest
npm dist-tag add @aws-sdk/karma-credential-loader@3.40.0 latest
# @aws-sdk/middleware-api-key does not exist at or below 3.100.0.
npm dist-tag add @aws-sdk/middleware-bucket-endpoint@3.80.0 latest
... etc.

@kuhe kuhe requested a review from a team as a code owner March 29, 2024 16:11
@kuhe kuhe merged commit 6dd2f7c into aws:main Mar 29, 2024
5 checks passed
@kuhe kuhe deleted the chore/tagging branch March 29, 2024 17:21
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants