Open builder555 opened 9 months ago
by default semantic-release
expects to publish an npm package, you'll have to create a configuration file and specify what "plugins" to use... see this own repo .release.json
for an example
if you want the defaults without npm, this should suffice:
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}
this will publish GitHub releases...
bonus: if you want to publish to pypi, you'd need to install this npm package then update the config accordingly: https://www.npmjs.com/package/semantic-release-pypi
Steps to reproduce:
Add example to .github/workflows/ci.yml:
Expected results:
Created 0.1.0 release
Actual results:
Error: SemanticReleaseError: Missing
package.json
fileOther:
Since this is a python package, it shouldn't try to publish to NPM or search for package.json file.
https://github.com/builder555/blah/actions/runs/7396822456