@@ -28,7 +28,7 @@ function cleanup_token() {
28
28
}
29
29
trap cleanup_token EXIT
30
30
31
- if ! [[ -x " ${DIR} / release-notes" ]] || ! [[ -x " ${DIR} / pullsheet" ]]; then
31
+ if ! [[ -x release-notes ]] || ! [[ -x pullsheet ]]; then
32
32
echo >&2 ' Installing release-notes'
33
33
go install github.com/corneliusweig/release-notes@latest
34
34
go install github.com/google/pullsheet@latest
@@ -38,7 +38,7 @@ git pull https://github.com/kubernetes/minikube.git master --tags
38
38
recent=$( git describe --abbrev=0)
39
39
recent_date=$( git log -1 --format=%as $recent )
40
40
41
- " ${DIR} / release-notes" kubernetes minikube --since $recent
41
+ release-notes kubernetes minikube --since $recent
42
42
43
43
echo " "
44
44
echo " 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!"
52
52
echo " "
53
53
AWK_FORMAT_ITEM=' {printf "- %s (%d comments)\n", $2, $1}'
54
54
AWK_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 "
56
56
echo " "
57
57
echo " Thank you to our triage members for this release!"
58
58
echo " "
59
59
AWK_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
61
61
62
62
if [[ " $recent " != * " beta" * ]]; then
63
63
echo " "
0 commit comments