Comments (9)
In addition to adding extra plugins to the extra_plugins parameter, you also need to set related plugins in the semantic-release configuration file. And pay attention to the order of the plugins.
See https://github.com/cycjimmy/semantic-release-action#step1-set-any-semantic-release-configuration-in-your-repository.
Here is an example of @semantic-release/changelog and @semantic-release/git:
module.exports = {
"dryRun": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json",
"package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
};
from semantic-release-action.
I have created a repo to reproduce, workflows run successfully but no CHANGELOG.md.
from semantic-release-action.
I found that you did not set the assets for the @semantic-release/git
plugin.
See https://github.com/semantic-release/changelog#usage.
from semantic-release-action.
Yes, but I have done that in the previous commits with the hope to make it work. I did the change again. still no result. also, I have looked at other repos with a few exceptions others couldn't generate the changelog as well. basically they have the config in their repos for changelog but no changelog.md what so ever.
from semantic-release-action.
I found that you specified an old version of the @semantic-release/changelog
plugin. If you want to use @semantic-release/changelog@3
, you need to specify the corresponding version of semantic-release
.
Here is your error message.
[error]npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
from semantic-release-action.
I have made the changes you specified, still, I don't see any CHANGELOG.md
nor I get any warning or error in the action. I invited you to the project in case you want to directly edit or check something.
from semantic-release-action.
I have made the changes you specified, still, I don't see any
CHANGELOG.md
nor I get any warning or error in the action. I invited you to the project in case you want to directly edit or check something.
Use keywords such as feat
, fix
in the commit messages to trigger a new release. In your recent commits, no keywords were found, and semantic would do nothing.
from semantic-release-action.
I did a few times, no luck, can you please confirm?
from semantic-release-action.
I did a few times, no luck, can you please confirm?
You put the configurations in two different places. And The configuration in release.config.js
is covered by package.json
. I fixed the problem in hssngl/semantic-release-action-bug@685d01d.
from semantic-release-action.
Related Issues (20)
- `extends` parameter should allow file paths as well HOT 1
- Allow tag format parameter HOT 3
- Does not support semantic-release version 20 HOT 3
- Release action fails with non-specific error HOT 2
- Error: Error: Command failed: npm install HOT 10
- Is now mandatory NPM_TOKEN to run semantic-release? If yes is possible to run it without publish on NPMJS website?
- Add action typing
- Get version from dry-run mode. HOT 1
- BUG: DRY_RUN still creates release... HOT 1
- Incompatibility with semantic-release >v20 HOT 13
- ESM Error on Semantic Release Version 19.0.5 HOT 2
- `CI = false` & `dryrun = true` does not result in prelease build HOT 2
- override plugin version HOT 2
- Incompatibility with v22 of semantic-release HOT 4
- workflow_run causes semantic-release-action to reference wrong branch HOT 1
- `perf` prefix triggered a patch release. HOT 2
- [semantic-release] › ✖ EGITNOPERMISSION Cannot push to the Git repository
- Add repository_url input
- An error occurred while running semantic-release: Error: Cannot find module 'xxxxx' with 4.1.0 HOT 3
- ESM fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semantic-release-action.