diff --git a/.gitea/release-drafter.yml b/.gitea/release-drafter.yml new file mode 100644 index 0000000..4593470 --- /dev/null +++ b/.gitea/release-drafter.yml @@ -0,0 +1,30 @@ +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 + +categories: + - title: '🚀 Features' + labels: + - 'Kind/Breaking' + - 'Kind/Feature' + - 'Kind/Enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'Kind/Bug' + - 'Kind/Security' + - title: '🧰 Maintenance' + labels: + - 'Kind/Documentation' + - 'Kind/CI' \ No newline at end of file diff --git a/.gitea/workflows/draft-release.yml b/.gitea/workflows/draft-release.yml new file mode 100644 index 0000000..9e5e807 --- /dev/null +++ b/.gitea/workflows/draft-release.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version: '1.20' + + - name: Use Go Action + id: use-go-action + uses: https://git.beisel.it/florian/gitea-release-drafter@main