Skip to content

Allow passing PR url to create-release script#11680

Merged
matthinz merged 2 commits intomainfrom
matthinz/allow-pasting-pr-url
Dec 23, 2024
Merged

Allow passing PR url to create-release script#11680
matthinz merged 2 commits intomainfrom
matthinz/allow-pasting-pr-url

Conversation

@matthinz
Copy link
Copy Markdown
Contributor

@matthinz matthinz commented Dec 19, 2024

🛠 Summary of changes

scripts/create-release is used to tag a release after it is deployed. Previously this script required you to pass in the actual PR ID. This update allows you to just pass in the PR URL directly, which is ever so slightly faster.

Before:

scripts/create-release 1234

After:

scripts/create-release https://github.com/18F/identity-idp/pull/1234

(The old way still works too.)

Previously this script required you to get the actual PR ID. This update allows you to just paste in the PR URL directly, which is slightly faster.

[skip changelog]
@matthinz matthinz changed the title Allow pasting PR url in create-release script Allow passing PR url to create-release script Dec 19, 2024
Copy link
Copy Markdown
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Also, make comparison case-insensitive (because technically we are 18F/identity-idp, not 18f/identity-idp?
@matthinz matthinz merged commit c374c68 into main Dec 23, 2024
@matthinz matthinz deleted the matthinz/allow-pasting-pr-url branch December 23, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants