mirror of
https://github.com/moul/sshportal.git
synced 2024-12-26 01:31:33 +08:00
feat: set up semantic release
This commit is contained in:
parent
db58e53f3b
commit
6a6e788968
2 changed files with 21 additions and 0 deletions
13
.github/workflows/release.yml
vendored
Normal file
13
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Semantic Release
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
semantic-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: codfish/semantic-release-action@v1
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
8
.releaserc.js
Normal file
8
.releaserc.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
module.exports = {
|
||||
branch: 'master',
|
||||
plugins: [
|
||||
'@semantic-release/commit-analyzer',
|
||||
'@semantic-release/release-notes-generator',
|
||||
'@semantic-release/github',
|
||||
],
|
||||
};
|
Loading…
Reference in a new issue