Skip to content

bump version

bump version #57

Workflow file for this run

on:
push:
tags:
- v*
workflow_dispatch:
name: Create Release
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Release
run: gh release create "${{ github.ref }}" --notes "$(./generate-release-notes)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
dispatch: # initiate dispatch, send trigger to lavinmq-website
name: Dispatch
runs-on: ubuntu-latest
needs: release
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Dispatch to workflow
run: |
curl -X POST https://api.github.com/repos/84codes/lavinmq-website/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.REPO_ACCESS_84C }} \
--data '{"event_type": "new_release", "client_payload": { "version": "'"${{ github.ref_name }}"'" }}'