Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
a4ed9ed9ab | |||
120c658adf | |||
712cfd96bf | |||
2121a15b99 | |||
a4da79aa1e | |||
43114e35b0 | |||
9f681424cf | |||
58a3f1d5bf | |||
6d48d09fca |
14
.gitea/release-drafter.yml
Normal file
14
.gitea/release-drafter.yml
Normal file
@ -0,0 +1,14 @@
|
||||
name-template: 'v$RESOLVED_VERSION 🌈'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'ReleaseTarget/Major'
|
||||
- 'Kind/Breaking'
|
||||
minor:
|
||||
labels:
|
||||
- 'ReleaseTarget/Minor'
|
||||
patch:
|
||||
labels:
|
||||
- 'ReleaseTarget/Patch'
|
||||
default: patch
|
@ -1,21 +1,18 @@
|
||||
name: 'CI'
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build Changelog
|
||||
id: github_release
|
||||
uses: mikepenz/release-changelog-builder-action@v3
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Release
|
||||
uses: mikepenz/action-gh-release@v0.2.0-a03 #softprops/action-gh-release
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
body: ${{steps.github_release.outputs.changelog}}
|
||||
go-version: '1.20'
|
||||
|
||||
- name: Use Go Action
|
||||
id: use-go-action
|
||||
uses: https://git.beisel.it/florian/gitea-release-drafter@v1
|
||||
with:
|
||||
username: foo
|
Reference in New Issue
Block a user