ci: new release workflow
This commit is contained in:
parent
2fb1b35713
commit
ceb7d04edd
2 changed files with 27 additions and 1 deletions
20
.forgejo/workflows/release.yml
Normal file
20
.forgejo/workflows/release.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- beta
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Semantic Release
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Semantic Release
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
npm install -g semantic-release@23 conventional-changelog-conventionalcommits@7
|
||||||
|
semantic-release
|
|
@ -61,6 +61,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@semantic-release/gitlab"
|
[
|
||||||
|
"@semantic-release/github",
|
||||||
|
{
|
||||||
|
"successCommentCondition": false,
|
||||||
|
"failTitle": false
|
||||||
|
}
|
||||||
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue