Skip to content

Commit 4d961fe

Browse files
4.1.x alpha release workflow: rely on github.event.repository.pushed_at
1 parent 440de46 commit 4d961fe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release-4.1.x-alphas.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
trigger_alpha_build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Get current UNIX timestamp
18-
id: timestamp
19-
uses: release-kit/unix-timestamp@v1
2017
- name: Trigger a 4.1.x alpha release build in ${{ env.DEV_WORKFLOW_REPOSITORY }}
2118
run: |
2219
curl -L \
@@ -25,4 +22,4 @@ jobs:
2522
-H "Authorization: Bearer ${{ secrets.RABBITMQCI_BOT_TOKEN }}" \
2623
-H "X-GitHub-Api-Version: 2022-11-28" \
2724
https://api.github.com/repos/${{ env.DEV_WORKFLOW_REPOSITORY }}/dispatches \
28-
-d '{ "event_type": "new_4.1.x_alpha", "client_payload": {"release_repository": "${{ env.DEV_WORKFLOW_REPOSITORY }}", "release_description": "Commit: https://github.com/rabbitmq/rabbitmq-server/commit/${{ github.sha }}, pushed at: ${{ github.event.repository.pushed_at }}", "prerelease": true, "prerelease_kind": "alpha", "release_title": "RabbitMQ ${{ vars.SERVER_41_NEXT_PATCH_VERSION }}-alpha.${{ github.sha }} from ${{ steps.timestamp.outputs.timestamp }} (${{ github.event.repository.pushed_at }})", "base_version": "${{ vars.SERVER_41_NEXT_PATCH_VERSION }}" }}'
25+
-d '{ "event_type": "new_4.1.x_alpha", "client_payload": {"release_repository": "${{ env.DEV_WORKFLOW_REPOSITORY }}", "release_description": "Commit: https://github.com/rabbitmq/rabbitmq-server/commit/${{ github.sha }}, pushed at: ${{ github.event.repository.pushed_at }}", "prerelease": true, "prerelease_kind": "alpha", "release_title": "RabbitMQ ${{ vars.SERVER_41_NEXT_PATCH_VERSION }}-alpha.${{ github.sha }} (from ${{ github.event.repository.pushed_at }})", "base_version": "${{ vars.SERVER_41_NEXT_PATCH_VERSION }}" }}'

0 commit comments

Comments
 (0)