From a32db1153efd81609f9b2fb084d1a32e5b411854 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Wed, 13 Nov 2024 10:45:34 +0000 Subject: [PATCH] use new workflow --- .github/workflows/main.yaml | 2 +- .releaserc.json | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .releaserc.json diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0bfe48a..a6bafc5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -7,5 +7,5 @@ on: jobs: main: - uses: ocadotechnology/codeforlife-workspace/.github/workflows/backend.yaml@main + uses: ocadotechnology/codeforlife-workspace/.github/workflows/backend.yaml@contributor-backend-31 # TODO: set to @main secrets: inherit diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..102697a --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,21 @@ +{ + "branches": ["contributor-backend-31"], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/changelog", + [ + "@semantic-release/git", + { + "assets": ["CHANGELOG.md"], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ], + [ + "@semantic-release/github", + { + "assets": ["CHANGELOG.md"] + } + ] + ] +}