-
-
Notifications
You must be signed in to change notification settings - Fork 6
34 lines (32 loc) · 800 Bytes
/
publish_release.yaml
File metadata and controls
34 lines (32 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: publish release
on:
push:
tags:
- 'v*'
jobs:
deploy_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
with:
exclude: chore
env:
REPO: ${{ github.repository }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false