Skip to content

Commit

Permalink
Added draft release action with tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jul 31, 2024
1 parent 3e2a36e commit 516e996
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ jobs:
# Convert refs/tags/vX_Y_Z to X.Y.Z
echo "RUBY_VERSION=$(echo ${{ github.ref }} | sed -e 's/refs\/tags\/v//;s/_/./g')" >> $GITHUB_ENV
- name: Build release package
run: |
curl -L -X POST \
-H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ruby/actions/dispatches \
-d '{"event_type": "${{ github.ref }}"}'
- name: Build and push Docker images
run: |
curl -L -X POST \
Expand Down

0 comments on commit 516e996

Please sign in to comment.