Skip to content

Commit 5746c42

Browse files
committed
ci: Activate semantic release
1 parent 0f91560 commit 5746c42

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,15 @@ jobs:
5454

5555
- name: "Composer Normalizer"
5656
run: "composer normalize --dry-run"
57+
58+
release:
59+
name: "Release"
60+
61+
runs-on: "ubuntu-latest"
62+
63+
steps:
64+
- name: Run semantic-release
65+
id: semantic
66+
uses: cycjimmy/semantic-release-action@v4
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@semantic-release/github"
6+
],
7+
"branches": [
8+
"main"
9+
],
10+
tagFormat: "${version}"
11+
}

0 commit comments

Comments
 (0)