mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-06 22:44:59 +08:00
Add automatic release generator
This commit is contained in:
parent
cc0966c6de
commit
014c8f1dbe
1 changed files with 17 additions and 0 deletions
17
.github/workflows/tags.yml
vendored
17
.github/workflows/tags.yml
vendored
|
@ -48,3 +48,20 @@ jobs:
|
|||
tag_name: gh-pages-${{ steps.version_number.outputs.RELEASE_VERSION }}
|
||||
keep_files: true
|
||||
exclude_assets: '.git'
|
||||
- name: Changelog
|
||||
uses: Bullrich/generate-release-changelog@master
|
||||
id: Changelog
|
||||
env:
|
||||
REPO: ${{ github.repository }}
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
${{ steps.Changelog.outputs.changelog }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
|
Loading…
Add table
Reference in a new issue