Skip to content

Commit 06da48a

Browse files
committed
feat: Adds release-prs to show prs associated with tags/releases
1 parent d8dc9c6 commit 06da48a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/release-prs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
# Usage: release_prs RELEASE_OR_TAG
4+
#
5+
# Example: release_prs 0.1.0
6+
#
7+
# This script will list all PRs associated with a release.
8+
gh release view "$1" |awk '/https:.*\/pull/{print $(NF)}'

0 commit comments

Comments
 (0)