Skip to content

Commit

Permalink
ci(semrel): common config in projects
Browse files Browse the repository at this point in the history
BREAKING CHANGE: dummy 13 release
  • Loading branch information
rubencabrera committed Feb 26, 2024
1 parent d9fb98c commit 07f9fe2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: Semantic Release

on:
push:
branches:
- master
- 12

jobs:
release:
name: Release
semantic-release:
name: Semantic Release
permissions:
contents: write
issues: write
Expand All @@ -19,11 +17,7 @@ jobs:
with:
fetch-depth: 0
- name: Semantic Release
id: semantic
id: semrel
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/commit-analyzer
@semantic-release/git
uses: cycjimmy/semantic-release-action@v4
10 changes: 2 additions & 8 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"branches": [
"12",
"master"
],
"fail": ["@semantic-release/github"],
"plugins": [
[
"@semantic-release/commit-analyzer",
Expand All @@ -17,10 +12,9 @@
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
],
"publish": [ "@semantic-release/github" ],
"repositoryUrl": "https://github.com/rubencabrera/odoo-addons.git",
"tagFormat": "${version}",
"verifyConditions": [ "@semantic-release/github" ]
"tagFormat": "${version}"
}

0 comments on commit 07f9fe2

Please sign in to comment.