Skip to content

Commit

Permalink
fix: release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Sep 28, 2024
1 parent 2a77a6f commit 5c043a2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .releaserc

This file was deleted.

38 changes: 38 additions & 0 deletions .releaserc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/

export default {
branches: ['master'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
[
'@semantic-release/npm',
{
npmPublish: false
}
],
[
'@semantic-release/exec',
{
prepareCmd: 'pnpm run pack'
}
],
[
'@semantic-release/github',
{
assets: [
{
// eslint-disable-next-line no-undef
path: `.output/web-chat-${nextRelease.version}-chrome.zip`,
label: 'Chrome Extension Installation Package'
}
],
labels: ['release']
}
],
'@semantic-release/git'
]
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "0.0.1",
"description": "Chat with anyone on any website.",
"type": "module",
"private": true,
"scripts": {
"dev": "wxt",
"dev:firefox": "wxt -b firefox",
Expand Down

0 comments on commit 5c043a2

Please sign in to comment.