diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0288455a..cf207208 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,14 +62,19 @@ jobs: --output=chagelog_latest.md --from rst --to markdown + --markdown-headings=atx chagelog_latest.rst + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + - name: Create Release uses: softprops/action-gh-release@v1 with: prerelease: false draft: false - name: Release ${{ github.ref }} + name: Release ${{ steps.get_version.outputs.VERSION }} body_path: chagelog_latest.md files: matrixctl.zip