release-notes-generator | release plugin to generate changelog content | DevOps library
kandi X-RAY | release-notes-generator Summary
kandi X-RAY | release-notes-generator Summary
semantic-release plugin to generate changelog content with conventional-changelog.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate changelog
release-notes-generator Key Features
release-notes-generator Examples and Code Snippets
Community Discussions
Trending Discussions on release-notes-generator
QUESTION
I am trying to publish my releases with semantic-release. Everything has worked well but the tool so far only generated tags rather than an actual GitHub Release.
My .releaserc
...ANSWER
Answered 2022-Feb-22 at 13:40As jonrsharpe pointed out, implementing the plugin semantic-release/github fixed my problem and tags and releases are now created automatically.
QUESTION
I have this Angular library uploaded to a package registry that I created on Gitlab. I've already been able to upload my library successfully to this registry using the CI. I now want to implement semantic versionning to this library, but I'm not quite sure how to do it... The version of my library does not seem to update. Here is my current Gitlab CI config :
...ANSWER
Answered 2022-Feb-10 at 08:32The problem was that I was not triggering a release with my commit messages. Once that was sorted out, the package.json updated normally.
QUESTION
Here is the error log message:
[3:40:55 PM] [semantic-release] › ✖ The command "git push --dry-run --no-verify https://gitlab-ci-token:[secure]@[repository-url].git HEAD:main" failed with the error message remote: You are not allowed to upload code. fatal: unable to access 'https://gitlab-ci-token:[secure]@[repository-url]/': The requested URL returned error: 403.
I have a GITLAB_TOKEN
set up in the repository settings with all the necessary permissions, but it seems it isn't even being used:
Here is my .releaserc.json
config:
ANSWER
Answered 2022-Jan-20 at 20:45So in the end the problem was that I had to add the created GITLAB_TOKEN
access token in Settings > CI/CD > Variables
QUESTION
I have a C# solution containing a single project and multiple libraries using .Net 6. I'm using conventional commits (commitlint with husky) and want to use semantic-release to deploy the latest build as a ZIP file on Github based on the commit messages.
The setup I tried for C# projects:
- Install packages
.
...ANSWER
Answered 2021-Dec-31 at 12:45You could dry-run semantic-release
before dotnet publish
to fetch the version number of the release (using the @semantic-release/exec
plugin). Then pass this fetched version number to dotnet publish
:
Add the @semantic-release/exec
plugin to your npm install
commands and adjust your .releaserc.json
file to store the next release version (for example in an environment variable):
QUESTION
What I want to do
Based on the FAQ
I want to update the package.json version number on a new release.
What I did
- Create a new empty private Github repository for an organization
temp
with a README.md and .gitignore for node - Clone the repository
- Fix the first commit message via git
rebase -i --root
and change it tofeat: initial commit
- Create a package.json with the content
ANSWER
Answered 2021-Dec-29 at 12:28Based on this issue
https://github.com/semantic-release/semantic-release/issues/1593
you also need the npm module.
npm install @semantic-release/npm -D
- add
"private": true,
to your package.json if you don't want to publish to npm - add the npm plugin to the release configuration file (the order matters)
.
QUESTION
I'm trying to use semantic-release to publish to a scoped private registry on gitlab but I keep getting error because it's trying to auth against the public registry instead the private one.
Here are my settings (with some things obscured)
package.json
...ANSWER
Answered 2021-Aug-04 at 18:10The solution was given to me by a devs on the semantic-release github page and basically boils down to me having a badly formatted .npmrc
.
So mine has:
QUESTION
We are using Azure Pipelines (azure-pipelines.yml
) to automate ci/cd. Part of our configuration completes the versioning of our project for publishing to Azure Artifacts. We're also trying to configure this to update the existing version number in package.json
without triggering a new pipeline in Azure DevOps.
This is the relevant section for our azure-pipelines.yml
file:
ANSWER
Answered 2021-Jun-04 at 02:36You can add another script task to push back to your devops git repo. But firstly, you need to add checkout step and set the persistCredentials to true to authenticate the git command. See below example:
QUESTION
Using @semantic-release
I'd like to consider refactor changes for both, triggering a new release and write down in the CHANGELOG.md file.
So far, I've included refactor commits at "@semantic-release/commit-analyzer"
so they are triggering a patch release:
ANSWER
Answered 2021-Feb-25 at 09:42If anyone finds this useful: we need to config "@semantic-release/release-notes-generator"
for considering other keywords besides feat and fix including these dicts:
QUESTION
I'm using semantic-release
to automatically define the next version, update package.json
and push to git
. However, I'm facing a problem where it stop me from direct pushing to master.
I'm using GitLab.
my release.config.js
...ANSWER
Answered 2020-Dec-12 at 12:521.In GitLab you have to explicitly set the script to push to Git. For this you need to create a token and pass it to your CI via env variable.
In example, see how we do it in our integration project via setting GIT_PUSH_TOKEN - here: https://gitlab.com/taleodor/sample-helm-cd
and the actual ci yaml code here: https://gitlab.com/taleodor/sample-helm-cd/-/blob/master/.gitlab-ci.yml (lines 25-30).
2.Yes, direct push on version bump is common.
QUESTION
I have some logs outputted by semantic-release. I would like to get the next semantic version.
Here's some of the logs
...ANSWER
Answered 2020-Aug-26 at 01:20It's because grep -E
is working with extended regular expression which doesn't support \d
. So you have two solutions:
- use
grep -P
to use Perl regular expression and work with\d
- use
grep -E
but change your regex as[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+
or[0-9]+\.[0-9]+\.[0-9]+
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install release-notes-generator
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page