mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-19 20:36:24 +00:00
Rate limit hint
+5
-2
@@ -37,11 +37,14 @@ A starting point for the CHANGELOG entry for this release can be obtained by run
|
||||
# update latest_release tag in local clone
|
||||
git fetch -t origin
|
||||
# get merged PR titles
|
||||
git log --oneline latest_release...master | grep "Merge pull request" | awk '{issue=substr($5, 2)} \
|
||||
git log --oneline latest_release...master | grep "Merge pull request"\
|
||||
| awk '{issue=substr($5, 2)} \
|
||||
{system("curl -s https://api.github.com/repos/weaveworks/scope/issues/" issue "| jq \".title\"")} \
|
||||
{print "\t["$5"](https://github.com/weaveworks/scope/pull/" issue ")"}' | sed -e 's/^"/- /' | sed -e 's/"$//'
|
||||
{print "\t["$5"](https://github.com/weaveworks/scope/pull/" issue ")"}'\
|
||||
| sed -e 's/^"/- /' | sed -e 's/"$//'
|
||||
```
|
||||
|
||||
(If you were rate-limited, generate a GH access token and append it to the curl URL as `?access_token=TOKEN`.)
|
||||
Then sort the lines by feature, bug fix, performance etc. sections.
|
||||
You may find it helpful to look at the original issues of the PRs to see what they are about.
|
||||
Commit and push the CHANGELOG to the release branch.
|
||||
|
||||
Reference in New Issue
Block a user