Skip to content

Commit 1a17acb

Browse files
authoredApr 2, 2024··
ci(fix): correct buildkite pipeline trigger (#3578)
Signed-off-by: Adrien Mannocci <adrien.mannocci@elastic.co>
1 parent 3059907 commit 1a17acb

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed
 

‎.github/workflows/release.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ jobs:
8484
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
8585
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
8686
pipeline: apm-agent-java-release
87-
pipelineCommit: ${{ env.RELEASE_VERSION }}
8887
waitFor: true
8988
printBuildLogs: false
9089
buildEnvVars: |
@@ -204,9 +203,24 @@ jobs:
204203
cat .ci/.arn-file.md >> $GITHUB_OUTPUT
205204
echo 'ARN_CONTENT_EOF' >> $GITHUB_OUTPUT
206205
206+
post-release:
207+
name: "Bump versions and create PR"
208+
needs:
209+
- await-maven-central-artifact
210+
uses: ./.github/workflows/pre-post-release.yml
211+
permissions:
212+
contents: write
213+
if: inputs.dry_run == false
214+
with:
215+
ref: ${{ inputs.ref }}
216+
version: ${{ inputs.version }}
217+
phase: 'post'
218+
secrets: inherit
219+
207220
create-github-release:
208221
name: "Create GitHub Release"
209222
needs:
223+
- post-release
210224
- publish-aws-lambda
211225
- update-major-branch
212226
runs-on: ubuntu-latest
@@ -238,20 +252,6 @@ jobs:
238252
--notes="[Release Notes for ${{ env.RELEASE_VERSION }}](https://www.elastic.co/guide/en/apm/agent/java/current/release-notes-${{ steps.get_dotx_branch.outputs.dotx_branch }}.html#release-notes-${{ env.RELEASE_VERSION }})
239253
${{ needs.publish-aws-lambda.outputs.arn_content }}"
240254
241-
post-release:
242-
name: "Bump versions and create PR"
243-
needs:
244-
- await-maven-central-artifact
245-
uses: ./.github/workflows/pre-post-release.yml
246-
permissions:
247-
contents: write
248-
if: inputs.dry_run == false
249-
with:
250-
ref: ${{ inputs.ref }}
251-
version: ${{ inputs.version }}
252-
phase: 'post'
253-
secrets: inherit
254-
255255
notify:
256256
if: ${{ always() && ! inputs.dry_run }}
257257
needs:

0 commit comments

Comments
 (0)
Please sign in to comment.