Skip to content

Commit

Permalink
Actions/alpha build: cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Nov 4, 2024
1 parent 15b924b commit af0d820
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/alpha-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
trigger_alpha_build:
runs-on: ubuntu-latest
steps:
- name: Set a short commit SHA
run: echo "SHORT_SHA=`echo ${{ github.sha }} | cut -c1-8`" >> $GITHUB_ENV
- name: Compute prerelease identifier from commit SHA
run: echo "PRERELEASE_IDENTIFIER=`echo ${{ github.sha }} | cut -c1-8`" >> $GITHUB_ENV
- name: Trigger an alpha build in rabbitmq/server-packages
run: |
curl -L \
Expand All @@ -21,4 +21,4 @@ jobs:
-H "Authorization: Bearer ${{ secrets.RABBITMQCI_BOT_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/rabbitmq/server-packages/dispatches \
-d '{"event_type": "new_4.1.x_alpha", "client_payload": {"prerelease": true, "prerelease_kind": "alpha", "prerelease_identifier": "${{ env.SHORT_SHA }}", "base_version": "4.1.0"}}'
-d '{"event_type": "new_4.1.x_alpha", "client_payload": {"prerelease": true, "prerelease_kind": "alpha", "prerelease_identifier": "${{ env.PRERELEASE_IDENTIFIER }}", "base_version": "4.1.0"}}'

0 comments on commit af0d820

Please sign in to comment.