Skip to content

fix: docs cli download link (#859) #6

fix: docs cli download link (#859)

fix: docs cli download link (#859) #6

## Reference: https://github.com/release-drafter/release-drafter
name: Create Release
on:
push:
branches:
- master
jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up jq
uses: dcarbone/install-jq-action@v1.0.1
- name: Get release version from service.yaml
run: |
RELEASE_VERSION=$(jq -r '.version' package.json )
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publish: true
version: ${{ env.RELEASE_VERSION }}
config-name: release-drafter.yaml