Skip to content

Commit

Permalink
chore: update release process to auto-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
acodeninja committed Aug 1, 2024
1 parent 0332cbc commit 5295b22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: 📋 draft release
name: 📋 publish release

run-name: 📋 @${{ github.triggering_actor }} is drafting a release
run-name: 📋 @${{ github.triggering_actor }} is publishing a release

on:
push:
branches: [ main ]
workflow_run:
workflows:
- "🔬 quality checks"
branches:
- main
types:
- completed

jobs:
draft-release:
name: 📋 draft release
name: 📋 publish release
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
14 changes: 2 additions & 12 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,7 @@ export default {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/github',
{
draftRelease: true,
},
],
[
'@semantic-release/npm',
{
npmPublish: false,
},
],
'@semantic-release/github',
'@semantic-release/npm',
],
};

0 comments on commit 5295b22

Please sign in to comment.