Merge pull request 'fix: non js release package to not consider npm' (#2) from fix/release-non-js-projects into main
All checks were successful
test — Successful
build — Successful
Unit Tests — Successful
E2E Tests — Successful
lint — Successful
All checks were successful
test — Successful
build — Successful
Unit Tests — Successful
E2E Tests — Successful
lint — Successful
Reviewed-on: #2
This commit is contained in:
commit
137fc31ec9
@ -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