Skip to content

Commit 957a7d9

Browse files
committed
Only look at PRs merged into main
1 parent bce579f commit 957a7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.roo/commands/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ argument-hint: patch | minor | major
44
---
55

66
1. Identify the SHA corresponding to the most recent release using GitHub CLI: `gh release view --json tagName,targetCommitish,publishedAt`
7-
2. Analyze changes since the last release using: `gh pr list --state merged --json number,title,author,url,mergedAt,closingIssuesReferences --limit 1000 -q '[.[] | select(.mergedAt > "TIMESTAMP") | {number, title, author: .author.login, url, mergedAt, issues: .closingIssuesReferences}] | sort_by(.number)'`
7+
2. Analyze changes since the last release using: `gh pr list --state merged --base main --json number,title,author,url,mergedAt,closingIssuesReferences --limit 1000 -q '[.[] | select(.mergedAt > "TIMESTAMP") | {number, title, author: .author.login, url, mergedAt, issues: .closingIssuesReferences}] | sort_by(.number)'`
88
3. For each PR with linked issues, fetch the issue details to get the issue reporter: `gh issue view ISSUE_NUMBER --json number,author -q '{number, reporter: .author.login}'`
99
4. Summarize the changes. If the user did not specify, ask them whether this should be a major, minor, or patch release.
1010
5. Create a changeset in .changeset/v[version].md instead of directly modifying package.json. The format is:

0 commit comments

Comments
 (0)