File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66# this should be run on the release branch
77
8+ # NOTE if you need to run this script locally, you will need to first:
9+ # git fetch upstream main
10+ # git push origin upstream/main:main
11+ # export GITHUB_REPOSITORY=open-telemetry/opentelemetry-java
12+
813from_version=$1
914
1015# get the date of the first commit that was not in the from_version
@@ -81,4 +86,5 @@ echo $contributors1 $contributors2 \
8186 | grep -v github-actions \
8287 | grep -v dependabot \
8388 | grep -v codecov \
89+ | grep -v opentelemetrybot \
8490 | sed ' s/^/@/'
Original file line number Diff line number Diff line change 1313 fi
1414
1515 - uses : actions/checkout@v3
16- with :
17- # tags are needed for the generate-release-contributors.sh script
18- fetch-depth : 0
1916
2017 - uses : actions/setup-java@v3
2118 with :
@@ -74,18 +71,16 @@ jobs:
7471
7572 # back to the release branch
7673 - uses : actions/checkout@v3
74+ with :
75+ # tags are needed for the generate-release-contributors.sh script
76+ fetch-depth : 0
7777
7878 - name : Generate release notes
7979 env :
8080 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8181 run : |
8282 # conditional blocks not indented because of the heredoc
83- if [[ $VERSION == *.0 ]]; then
84- cat > /tmp/release-notes.txt << EOF
85- This release targets the OpenTelemetry SDK $VERSION.
86-
87- EOF
88- else
83+ if [[ $VERSION != *.0 ]]; then
8984 cat > /tmp/release-notes.txt << EOF
9085 This is a patch release on the previous $PRIOR_VERSION release, fixing the issue(s) below.
9186
You can’t perform that action at this time.
0 commit comments