build: add release configuration for semantic release
This commit is contained in:
parent
f31a959ec5
commit
ab9598950a
2 changed files with 16 additions and 1 deletions
|
@ -22,4 +22,4 @@ jobs:
|
||||||
uses: https://git.kjan.de/actions/semantic-release@main
|
uses: https://git.kjan.de/actions/semantic-release@main
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
15
release.config.cjs
Normal file
15
release.config.cjs
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
module.exports = {
|
||||||
|
|
||||||
|
branches: ['main'],
|
||||||
|
plugins: [
|
||||||
|
'@semantic-release/commit-analyzer',
|
||||||
|
'@semantic-release/release-notes-generator',
|
||||||
|
'@semantic-release/changelog',
|
||||||
|
["@saithodev/semantic-release-gitea", {
|
||||||
|
"giteaUrl": "https://git.simonis.lol"
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue