@@ -28,7 +28,7 @@ function cleanup_token() {
2828}
2929trap cleanup_token EXIT
3030
31- if ! [[ -x " ${DIR} / release-notes" ]] || ! [[ -x " ${DIR} / pullsheet" ]]; then
31+ if ! [[ -x release-notes ]] || ! [[ -x pullsheet ]]; then
3232 echo >&2 ' Installing release-notes'
3333 go install github.com/corneliusweig/release-notes@latest
3434 go install github.com/google/pullsheet@latest
@@ -38,7 +38,7 @@ git pull https://github.com/kubernetes/minikube.git master --tags
3838recent=$( git describe --abbrev=0)
3939recent_date=$( git log -1 --format=%as $recent )
4040
41- " ${DIR} / release-notes" kubernetes minikube --since $recent
41+ release-notes kubernetes minikube --since $recent
4242
4343echo " "
4444echo " For a more detailed changelog, including changes occurring in pre-release versions, see [CHANGELOG.md](https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md)."
@@ -52,12 +52,12 @@ echo "Thank you to our PR reviewers for this release!"
5252echo " "
5353AWK_FORMAT_ITEM=' {printf "- %s (%d comments)\n", $2, $1}'
5454AWK_REVIEW_COMMENTS=' NR>1{arr[$4] += $6 + $7}END{for (a in arr) printf "%d %s\n", arr[a], a}'
55- " ${DIR} / pullsheet" reviews --since " $recent_date " --repos kubernetes/minikube --token-path " $GH_TOKEN " --logtostderr=false --stderrthreshold=2 | awk -F ' ,' " $AWK_REVIEW_COMMENTS " | sort -k1nr -k2d | awk -F ' ' " $AWK_FORMAT_ITEM "
55+ pullsheet reviews --since " $recent_date " --repos kubernetes/minikube --token-path " $GH_TOKEN " --logtostderr=false --stderrthreshold=2 | awk -F ' ,' " $AWK_REVIEW_COMMENTS " | sort -k1nr -k2d | awk -F ' ' " $AWK_FORMAT_ITEM "
5656echo " "
5757echo " Thank you to our triage members for this release!"
5858echo " "
5959AWK_ISSUE_COMMENTS=' NR>1{arr[$4] += $7}END{for (a in arr) printf "%d %s\n", arr[a], a}'
60- " ${DIR} / pullsheet" issue-comments --since " $recent_date " --repos kubernetes/minikube --token-path " $GH_TOKEN " --logtostderr=false --stderrthreshold=2 | awk -F ' ,' " $AWK_ISSUE_COMMENTS " | sort -k1nr -k2d | awk -F ' ' " $AWK_FORMAT_ITEM " | head -n 5
60+ pullsheet issue-comments --since " $recent_date " --repos kubernetes/minikube --token-path " $GH_TOKEN " --logtostderr=false --stderrthreshold=2 | awk -F ' ,' " $AWK_ISSUE_COMMENTS " | sort -k1nr -k2d | awk -F ' ' " $AWK_FORMAT_ITEM " | head -n 5
6161
6262if [[ " $recent " != * " beta" * ]]; then
6363 echo " "
0 commit comments