diff --git a/.releaserc.json b/.releaserc.json index 781b09e7..0c0eca8a 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -136,7 +136,12 @@ } } ], - "@semantic-release/github", + [ + "@semantic-release/github", + { + "successCommentCondition": "<% return issue.user.type !== 'Bot'; %>" + } + ], "@semantic-release/git", "@semantic-release/changelog" ] diff --git a/packages/cli/assets/plugins/releaserc/default/.releaserc.json b/packages/cli/assets/plugins/releaserc/default/.releaserc.json index 92a3dd23..5c3fdb35 100644 --- a/packages/cli/assets/plugins/releaserc/default/.releaserc.json +++ b/packages/cli/assets/plugins/releaserc/default/.releaserc.json @@ -135,7 +135,12 @@ } } ], - "@semantic-release/github", + [ + "@semantic-release/github", + { + "successCommentCondition": "<% return issue.user.type !== 'Bot'; %>" + } + ], "@semantic-release/git", "@semantic-release/changelog" ] diff --git a/packages/cli/package.json b/packages/cli/package.json index baecc289..e39c4afc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -5,7 +5,7 @@ "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "scripts": { - "build": "npm run -s build:app && pkgroll && npm run -s copy-app", + "build": "npm run -s build:app && pkgroll --export-condition=node --conditions=node --clean-dist && npm run -s copy-app", "build:app": "cd src/app && next build", "copy-app": "rm -rf dist/app && mkdir -p dist/app/.next && cp -r src/app/public dist/app/public && cp -r src/app/.next/standalone/packages/cli/src/app/* dist/app && cp -r src/app/.next/standalone/packages/cli/src/app/.next dist/app && cp -r src/app/.next/static dist/app/.next/static", "start-app": "cd dist/app && cross-env HOSTNAME=\"0.0.0.0\" node server.js", @@ -51,7 +51,7 @@ "monorepo", "nextjs" ], - "homepage": "https://github.com/rharkor/next-boilerplate", + "homepage": "https://github.com/rharkor/next-boilerplate/tree/main/packages/cli", "author": "HUORT Louis (https://louis.huort.com)", "repository": { "type": "git", @@ -137,4 +137,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file