bump version v0.6.0-alpha.3 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract version from tag | |
id: tag-version | |
run: | | |
echo "::set-output name=version::${GITHUB_REF#refs/tags/v}" | |
- name: Create GitHub Release | |
run: | | |
curl -s \ | |
-X POST \ | |
-H "Authorization: token $GIT_TOKEN" \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
https://api.github.com/repos/${{ github.repository }}/releases \ | |
-d '{ | |
"tag_name": "v${{ steps.tag-version.outputs.version }}", | |
"name": "Release v${{ steps.tag-version.outputs.version }}", | |
"body": "Release of version ${{ steps.tag-version.outputs.version }}", | |
"draft": false, | |
"prerelease": false | |
}' | |
env: | |
GIT_TOKEN: ${{ secrets.GIT_TOKEN }} |