This commit is contained in:
16
.gitea/workflows/release.yaml
Normal file
16
.gitea/workflows/release.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: semantic-release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
uses: https://gitea.ldpt.fr/actions/semantic-release/.github/workflows/semantic-release.yml@v1.5
|
||||||
13
release.config.js
Normal file
13
release.config.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
branches: ["main", "master"],
|
||||||
|
tagFormat: "v${version}",
|
||||||
|
plugins: [
|
||||||
|
[
|
||||||
|
"@semantic-release/commit-analyzer",
|
||||||
|
{
|
||||||
|
preset: "conventionalcommits"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@semantic-release/release-notes-generator"
|
||||||
|
]
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user