Skip to content

add a release draft workflow #1

add a release draft workflow

add a release draft workflow #1

Workflow file for this run

on:
push:
tags:
# Push events to matching v*, i.e. v1.0, v20.15.10
- 'v^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-(0|[1-9A-Za-z-][0-9A-Za-z-]*)(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$'
name: Create Release Draft
jobs:
build:
name: Create Release Draft
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
**TODO:** update changes in this Release
- First Change
- Second Change
- ...
[Documentation](https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ github.ref }}/
draft: true
prerelease: false