File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed
Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,30 @@ jobs:
127127 git push origin $VERSION
128128 git tag $VERSION
129129 git push --tags origin
130- - name : Create GitHub Release
131- uses : ./.github/workflows/github-release.yml
132- with :
133- releaseVersion : $VERSION
134- secrets :
135- GH_ACTIONS_REPO_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
130+ - name : Install Tooling
131+ run : |
132+ curl -sSL https://github.com/cbroglie/mustache/releases/download/v1.2.2/mustache_1.2.2_linux_amd64.tar.gz | sudo tar -C /usr/local/bin/ --no-same-owner -xzv mustache
133+ - name : Create Github Release
134+ env :
135+ RELEASE_NOTES_ISSUES : ${{runner.temp}}/release_notes_issues.json
136+ RELEASE_NOTES_FILE : ${{runner.temp}}/release_notes.md5
137+ run : |
138+ releaseVersion="${{ inputs.releaseVersion }}"
139+
140+ gh issue list \
141+ --repo spring-projects-experimental/spring-pulsar \
142+ --state all --json number,title,labels \
143+ --search label:aot-native \
144+ --jq '{issues:map(select((.labels | length == 0) or (any(.labels[].name; startswith("automation/rlnotes")|not))) + {repo:"spring-projects-experimental/spring-pulsar"})}' \
145+ > $RELEASE_NOTES_ISSUES
146+
147+ mustache $RELEASE_NOTES_ISSUES .github/rlnotes.mustache > $RELEASE_NOTES_FILE
148+
149+ gh release create $releaseVersion \
150+ --draft \
151+ --title "Spring Pulsar $releaseVersion" \
152+ --generate-notes \
153+ --notes-file $RELEASE_NOTES_FILE
136154 - name : Update to next Snapshot Version
137155 run : |
138156 echo "Updating $REPO@$VERSION to next snapshot version."
You can’t perform that action at this time.
0 commit comments