Skip to content

Release version 5.0.0. #13

Release version 5.0.0.

Release version 5.0.0. #13

Workflow file for this run

name: Initiate Release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: |
echo ::set-output name=version::${GITHUB_REF:10}
echo ::set-output name=target::${GITHUB_REF}
- name: Perform Release
run: |
curl -X POST https://api.github.com/repos/EventStore/TrainStation/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.GH_PAT }} \
--data '{"event_type": "java-grpc-client-release", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'", "version": "${{ steps.get_version.outputs.version }}", "target": "${{ steps.get_version.outputs.target }}" }}'