Skip to content

Commit d6a9db0

Browse files
Actions/alpha build: cosmetics
1 parent 49ad8ea commit d6a9db0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/alpha-build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
trigger_alpha_build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set a short commit SHA
15-
run: echo "SHORT_SHA=`echo ${{ github.sha }} | cut -c1-8`" >> $GITHUB_ENV
14+
- name: Compute prerelease identifier from commit SHA
15+
run: echo "PRERELEASE_IDENTIFIER=`echo ${{ github.sha }} | cut -c1-8`" >> $GITHUB_ENV
1616
- name: Trigger an alpha build in rabbitmq/server-packages
1717
run: |
1818
curl -L \
@@ -21,4 +21,4 @@ jobs:
2121
-H "Authorization: Bearer ${{ secrets.RABBITMQCI_BOT_TOKEN }}" \
2222
-H "X-GitHub-Api-Version: 2022-11-28" \
2323
https://api.github.com/repos/rabbitmq/server-packages/dispatches \
24-
-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"}}'
24+
-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 commit comments

Comments
 (0)