From 9c6e4026666fc62476070c07609973dc9473676f Mon Sep 17 00:00:00 2001 From: Martin Bruzina Date: Thu, 13 Mar 2025 23:17:30 +0100 Subject: [PATCH 1/2] ci: add semantic release workflow --- .github/workflows/semantic-release.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/semantic-release.yaml diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml new file mode 100644 index 0000000..2e99acc --- /dev/null +++ b/.github/workflows/semantic-release.yaml @@ -0,0 +1,13 @@ +--- +name: Semantic Release + +on: + push: + branches: + - main + +jobs: + call-reusable-release: + uses: xebis/github-actions-and-workflows/.github/workflows/semantic-release.yaml@main + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From baf06232213469b8bf888e022e9fd1d1a98cf48d Mon Sep 17 00:00:00 2001 From: Martin Bruzina Date: Fri, 14 Mar 2025 23:11:35 +0100 Subject: [PATCH 2/2] ci: add semantic release configuration --- .releaserc.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .releaserc.yaml diff --git a/.releaserc.yaml b/.releaserc.yaml new file mode 100644 index 0000000..5969a2a --- /dev/null +++ b/.releaserc.yaml @@ -0,0 +1,14 @@ +--- +branches: + - main +plugins: + - - "@semantic-release/commit-analyzer" + - preset: conventionalcommits + - - "@semantic-release/release-notes-generator" + - preset: conventionalcommits + - "@semantic-release/github" + - - "@semantic-release/changelog" + - changelogTitle: '# Changelog' + - - "@semantic-release/git" + - assets: + - CHANGELOG.md