Skip to content

Commit

Permalink
Merge 8b14060 into 79a2f7b
Browse files Browse the repository at this point in the history
  • Loading branch information
rushitote committed Apr 4, 2021
2 parents 79a2f7b + 8b14060 commit f3d570f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Run semantic-release
if: github.repository == 'casbin/lua-casbin' && github.event_name == 'push'
run: |
export PATH="$(yarn global bin):$PATH"
yarn global add semantic-release
semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 13 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"debug": true,
"release": {
"branches": [
"master"
]
},
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}

0 comments on commit f3d570f

Please sign in to comment.