diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml new file mode 100644 index 00000000000..fb7468e7f83 --- /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 00000000000..388f6d883f0 --- /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, + }, + ], +};