Compare commits
10 Commits
v0.1
...
florian-pa
Author | SHA1 | Date | |
---|---|---|---|
904bae5c7e | |||
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'
|
name: 'CI'
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Build Changelog
|
- name: Setup Go
|
||||||
id: github_release
|
uses: actions/setup-go@v3
|
||||||
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
|
|
||||||
with:
|
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