From efcf8e200c90c0c62bfccc3fe3e2e5cf029fa00e Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Mon, 17 Mar 2025 10:37:51 +0100 Subject: [PATCH] feat: add ready release go --- .woodpecker/release.yaml | 14 +++++++++++++ release-config.ts | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .woodpecker/release.yaml create mode 100644 release-config.ts diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml new file mode 100644 index 0000000000..fb7468e7f8 --- /dev/null +++ b/.woodpecker/release.yaml @@ -0,0 +1,14 @@ +--- + +when: + event: push + branch: ${CI_REPO_DEFAULT_BRANCH} + +steps: + release-helper: + image: woodpeckerci/plugin-ready-release-go:latest + settings: + git_email: devops@opencloud.eu + forge_type: github + forge_token: + from_secret: github_token diff --git a/release-config.ts b/release-config.ts new file mode 100644 index 0000000000..388f6d883f --- /dev/null +++ b/release-config.ts @@ -0,0 +1,43 @@ +export default { + changeTypes: [ + { + title: '💥 Breaking changes', + labels: ['breaking', 'Type:Breaking-Changes'], + bump: 'major', + weight: 3, + }, + { + title: '🔒 Security', + labels: ['security', 'Type:Security'], + bump: 'patch', + weight: 2, + }, + { + title: '✨ Features', + labels: ['feature', 'Type:Feature'], + bump: 'minor', + weight: 1, + }, + { + title: '📈 Enhancement', + labels: ['enhancement', 'refactor', 'Type:Enhancement'], + bump: 'minor', + }, + { + title: '🐛 Bug Fixes', + labels: ['bug', 'Type:Bug'], + bump: 'patch', + }, + { + title: '📚 Documentation', + labels: ['docs', 'documentation', 'Type:Documentation'], + bump: 'patch', + }, + { + title: '📦️ Dependency', + labels: ['dependency', 'dependencies', 'Type:Dependencies'], + bump: 'patch', + weight: -1, + }, + ], +};