fix: non js release package to not consider npm
This commit is contained in:
parent
f70fb6e1d0
commit
5745f8697e
@ -51,7 +51,6 @@ const releasePlugins = [
|
||||
['@semantic-release/commit-analyzer', { preset: 'conventionalcommits' }],
|
||||
['@semantic-release/release-notes-generator', { preset: 'conventionalcommits' }],
|
||||
['@semantic-release/changelog', { changelogFile: 'CHANGELOG.md', changelogTitle: '# Changelog' }],
|
||||
["@semantic-release/npm", { "npmPublish": false }],
|
||||
'@saithodev/semantic-release-gitea',
|
||||
['@semantic-release/git', {
|
||||
assets: getGitAssets(),
|
||||
@ -59,6 +58,10 @@ const releasePlugins = [
|
||||
}],
|
||||
];
|
||||
|
||||
if (isJsProject()) {
|
||||
releasePlugins.push(['@semantic-release/npm', { npmPublish: false }]);
|
||||
}
|
||||
|
||||
let plugins;
|
||||
const branch = getGitCurrentBranch();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user