Skip to content

Commit

Permalink
Merge pull request #1864 from mrrobot47/update/changelog-script
Browse files Browse the repository at this point in the history
Fix changelog script
  • Loading branch information
mrrobot47 authored Oct 8, 2024
2 parents c989acd + e1903fc commit 0555adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ profiles_settings.xml
Project_Default.xml
.idea
ee_release
changelog.txt
5 changes: 3 additions & 2 deletions utils/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ echo "## What's Changed" > changelog.txt
createdAt=$(gh api graphql -F owner='EasyEngine' -F name='easyengine' -f query='
query {
repository(owner: "EasyEngine", name: "easyengine") {
releases(last: 1) {
releases(first: 1, orderBy: { field: CREATED_AT, direction: DESC }) {
nodes { tagName, createdAt }
}
}
}
' | jq -r '.data.repository.releases.nodes[0].createdAt')

gh api graphql --paginate -f query="
query {
search(query: \"org:Easyengine updated:>$createdAt state:closed is:pr\", type:ISSUE,first: 100) {
search(query: \"org:Easyengine updated:>$createdAt state:closed is:pr\", type:ISSUE, first: 100) {
repositoryCount
edges {
node {
Expand Down

0 comments on commit 0555adc

Please sign in to comment.