Skip to content

Release v2.0.0

Release v2.0.0 #13

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]*.[0-9]*.[0-9]*'
jobs:
release:
name: Create GitHub Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
MARKETPLACE="Install via the Visual Studio Marketplace: https://marketplace.visualstudio.com/items?itemName=AppSoftwareLtd.as-notes"
GENERATED=$(gh api repos/${{ github.repository }}/releases/generate-notes \
-f tag_name="${{ github.ref_name }}" \
--jq '.body')
NOTES="${MARKETPLACE}"$'\n\n'"${GENERATED}"
gh release create "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--notes "${NOTES}"