Skip to content

Commit

Permalink
Merge pull request #32 from closetool/tablename
Browse files Browse the repository at this point in the history
fix: change release account
  • Loading branch information
hsluoyz authored May 6, 2021
2 parents fba7b11 + 20c47ef commit f014a9d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:

- uses: actions/checkout@v2
- name: Run semantic-release
uses: go-semantic-release/action@v1
if: github.repository == 'casbin/casbin-pg-adapter' && github.event_name == 'push'
with:
github-token: ${{ secrets.GH_TOKEN }}
run: |
npm install --save-dev semantic-release@17.2.4
npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"debug": true,
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}


0 comments on commit f014a9d

Please sign in to comment.