From 438ed033d40f7dd3f983a26f8c6c298b416b7923 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 12 Jul 2023 12:04:24 +0200 Subject: [PATCH] add changelog + release setup --- .changelog.yml | 38 +++++++++++++++++++++++++++++++++++ .gitea/workflows/release.yaml | 7 ++++--- CHANGELOG.md | 8 ++++++++ 3 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 .changelog.yml create mode 100644 CHANGELOG.md diff --git a/.changelog.yml b/.changelog.yml new file mode 100644 index 0000000..5ee1992 --- /dev/null +++ b/.changelog.yml @@ -0,0 +1,38 @@ +# The full repository name +repo: OCram85/swarmproxy + +# Service type (gitea or github) +service: gitea + +# Base URL for Gitea instance if using gitea service type (optional) +# Default: https://gitea.com +base-url: https://gitea.ocram85.com + +# Changelog groups and which labeled PRs to add to each group +groups: + - name: 🐛 BUGFIXES + labels: + - bug + - name: ✨ FEATURES + labels: + - feature + - name: 🛠️ ENHANCEMENTS + labels: + - enhancement + - name: 📦 BUILD + labels: + - pipeline + - name: 🤖 DEPENDENCIES + labels: + - renovate + - name: 📚 DOCS + labels: + - docs + - name: ⚙️ META + labels: + - meta + - name: 🔖 MISC + default: true + +# regex indicating which labels to skip for the changelog +skip-labels: skip-changelog|backport\/.+ diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 28adfd9..e138528 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -20,7 +20,8 @@ jobs: id: use-go-action uses: actions/release-action@main with: - #files: -| + files: |- + CHANGELOG.md api_key: '${{ secrets.TOKEN }}' - #title: - #body: + body: | + > :bulb: **Note:** See [CHANGELOG.md](src/branch/main/CHANGELOG.md) for recent changes. diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ffa8cba --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +## [v0.1.0](https://gitea.ocram85.com/OCram85/swarmproxy/releases/tag/v0.1.0) - 2023-07-12 + +* ✨ FEATURES + * Adds entrypoint (#6) + * Add first prototype implementation (#1) +* 📦 BUILD + * Add gitea release action (#7) + * Finalize ci (#5)