Open sorokinvj opened 8 months ago
Why do you have a prepare
block in addition to plugins
in your config? Does the behavior change if you remove that?
Why do you have a
prepare
block in addition toplugins
in your config? Does the behavior change if you remove that?
Because its the only way to run my script before git plugin, which I need to commit files back to the repo @travi
Ah, and because chrome plugin makes zip file from the build dir at prepare stage, so I am overriding the whole prepare to prevent this.
Configure your plugins within the plugins list. Configured plugins execute their lifecycle hooks in the order the plugins are declared in the plugins list
When running
semantic-release
with the@semantic-release/git
plugin, the log output from semantic-release only shows that two files (CHANGELOG.md and package.json) are being committed. However, thegit show
command shows that additional files (manifest.json and a zip file in the dist directory) are also being committed (which is the goal author tries to achieve)Steps to reproduce:
Expected behavior:
The log output from semantic-release should accurately reflect all the files that are being committed.
Actual behavior:
The log output from semantic-release only shows that two files are being committed, even though more files are actually being committed.
CHANGELOG.md
,package.json
CHANGELOG.md
,package.json
,dist/jobLander-0.5.10.zip
,manifest.json
Additional context:
.releaserc
prepare-publish.js