Skip to content

Commit

Permalink
Merge pull request #623 from repository-settings/releases
Browse files Browse the repository at this point in the history
ci(release): defined a release workflow
  • Loading branch information
travi authored Jul 29, 2022
2 parents ec22ae0 + ba75269 commit 2ea39ae
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release
"on":
push:
branches:
- master
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/github", {"successComment": false}]
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "probot-settings",
"version": "1.0.0",
"version": "0.0.0-semantically-released",
"private": true,
"description": "",
"repository": "github:repository-settings/app",
"main": "index.js",
Expand Down

1 comment on commit 2ea39ae

@vercel
Copy link

@vercel vercel bot commented on 2ea39ae Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.