mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
cd: added automated changelogs to release workflow
This commit is contained in:
@@ -15,6 +15,24 @@ jobs:
|
|||||||
- run: go get dagger.io/dagger@latest
|
- run: go get dagger.io/dagger@latest
|
||||||
- run: mkdir ./dist
|
- run: mkdir ./dist
|
||||||
- run: go run ci/build_test_release.go
|
- run: go run ci/build_test_release.go
|
||||||
|
- name: Auto Changelog
|
||||||
|
uses: ardalanamini/auto-changelog@v4.0.1
|
||||||
|
id : changelog
|
||||||
|
with:
|
||||||
|
github-token : ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
commit-types : |
|
||||||
|
feat: New Features
|
||||||
|
fix: Bug Fixes
|
||||||
|
build: Build System & Dependencies
|
||||||
|
perf: Performance Improvements
|
||||||
|
docs: Documentation
|
||||||
|
test: Tests
|
||||||
|
refactor: Refactors
|
||||||
|
chore: Chores
|
||||||
|
ci: CI
|
||||||
|
cd: CD
|
||||||
|
style: Code Style
|
||||||
|
revert: Reverts
|
||||||
- name: publish project
|
- name: publish project
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -36,6 +54,7 @@ jobs:
|
|||||||
- name: Release project
|
- name: Release project
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
body: ${{steps.changelog.outputs.changelog}}
|
||||||
files: "*.tar.gz"
|
files: "*.tar.gz"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user