commit-analyzer | release plugin to analyze commits | DevOps library
kandi X-RAY | commit-analyzer Summary
kandi X-RAY | commit-analyzer Summary
semantic-release plugin to analyze commits with conventional-changelog.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of commit-analyzer
commit-analyzer Key Features
commit-analyzer Examples and Code Snippets
Community Discussions
Trending Discussions on commit-analyzer
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 am using a GitLab CI Runner with Docker.
My dockerfile looks as follows:
...ANSWER
Answered 2020-Nov-24 at 13:32I finally solved the issue through:
- Removing
USER ciuser
from the Dockerfile so that the runner is starting with theroot
user again - Changing the test command as follows
sudo -H -u ciuser bash -c "npm install && npm run test:cobertura"
so that it is executed by theciuser
as it is described in this post.
QUESTION
I am trying to release a package to npm.
When CircleCI is trying to run semantic-release
it throws the following error:
ANSWER
Answered 2020-Jun-05 at 19:59I resolved the problem myself. I suspected that the problem is due to some version incompatibities of semantic-release
plugins that I was using with the library. I tried different versions of semantic-release
but I had no success.
Finally, I checked the Nodejs version (node --version
) of my CircleCI executor which was a machine executor (image: ubuntu-1604:201903-01
). I found that the node version in that executor was so old (v6.x.x
). I needed that machine executor to run my tests as I had to mock some aws features through other docker images running on the machine. However, could change the executor to a Nodejs docker executor for the release
step. So, I did this and problem was resolved.
For example, I added something like the following at the beginning of my CircleCI config:
QUESTION
Instead of closing/deleting I want to archive one of my git repositories on GitHub. I have seen on multiple projects a yellow banner with the message "This repository has been archived by the owner. It is now read-only." but I can't find out how to achieve this.
Examples:
https://github.com/Homebrew/legacy-homebrew
https://github.com/semantic-release/commit-analyzer-v2
Does anyone know how to do this or is it just possible for repositories with a big community?
ANSWER
Answered 2017-Nov-09 at 12:56It’s within the generic Settings
of your repository. In there you’ll find the Danger Zone
at the very bottom of the website. There is a new button called Archive this repository
.
QUESTION
My react application is built using create react app https://reactjs.org/docs/create-a-new-react-app.html fails to start.
When i exec npm run start
my application hangs with the following message.
Starting the development server...
package.json
...ANSWER
Answered 2020-Feb-22 at 12:39I fixed it by installing a previous version of npm-scripts Try using this:
QUESTION
Can anyone give us a hint how to configure @semantic-release/release-notes-generator
to take extra commit types (those additional to preset ones) while generating release-notes?
Our commits-analyzer config:
...ANSWER
Answered 2019-Nov-01 at 02:28You will have to implement your own conventional-changelog preset in order to handle those new commit type.
For example the default angular preset handles only certain commit types: https://github.com/conventional-changelog/conventional-changelog/blob/e865af4df8d06795cebc7af09364ade19119e089/packages/conventional-changelog-angular/writer-opts.js#L36
QUESTION
I'm currently trying to setup semantic-release
to publish package.json
with the updated version and CHANGELOG
to both npm and GitHub. From what I've read, this seem possible using @semantic-release/git and @semantic-release/changelog plugins. However, I couldn't make it work with my configs. My package is something like that: (source @ redux-form-input-masks)
ANSWER
Answered 2018-Feb-20 at 03:47I've finally made it work.
The problem was that npm i @semantic-release/git --save-dev
would install the git plugin at version 3.0.1, and I was reading the API for for version 4.0.0.
To solve it, I did
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install commit-analyzer
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