@@ -153,50 +153,12 @@ jobs:
153153 --target ${{ needs.bump-version.outputs.release-commit }} \
154154 --title "Release ${{ needs.bump-version.outputs.release-version }}" \
155155 --draft --generate-notes \
156- apidocs-${{ needs.bump-version.outputs.release-version }}.tar.gz \
157156 release-${{ needs.bump-version.outputs.release-version }}.tar.gz)
158157
159158 echo "RELEASE_URL=$RELEASE_URL" >> $GITHUB_OUTPUT
160159 env :
161160 GH_TOKEN : ${{ github.token }}
162161
163- create-docs-pr :
164- name : " Create JavaDocs PR"
165- needs : [ bump-version, run-ci ]
166- outputs :
167- branch : ${{ steps.replace-javadoc.outputs.BRANCH_NAME }}
168- pr-url : ${{ steps.create-javadoc-pr.outputs.PR_URL }}
169- runs-on : ubuntu-latest
170- steps :
171- - name : " Checkout Code Repository"
172- uses : actions/checkout@v4
173- with :
174- ref : ${{ needs.bump-version.outputs.release-branch }}
175- - name : " Checkout Docs Repository"
176- uses : actions/checkout@v4
177- with :
178- repository : ${{ env.DOCS_REPO }}
179- path : .cloud-sdk-docs
180- token : ${{ secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
181- # needed to get the aggregated JavaDocs
182- - name : " Download SDK Targets"
183- uses : actions/download-artifact@v4
184- with :
185- name : ${{ env.SDK_TARGETS_NAME }}
186- github-token : ${{ github.token }}
187- run-id : ${{ needs.run-ci.outputs.ci-run-id }}
188- path : .targets
189-
190- - name : " Determine Major Version"
191- id : determine-major-version
192- run : echo "MAJOR_VERSION=$(jq -r '.version' latest.json | cut -d '.' -f 1)" >> $GITHUB_OUTPUT
193-
194- - name : " Prepare Git"
195- working-directory : ./.cloud-sdk-docs
196- run : |
197- git config --global user.email "cloudsdk@sap.com"
198- git config --global user.name "SAP Cloud SDK Bot"
199-
200162 create-release-notes-pr :
201163 name : " Create Release Notes PR"
202164 needs : [ bump-version, run-ci ]
0 commit comments