semantic-release | semantic-release written in go | Continous Integration library
kandi X-RAY | semantic-release Summary
kandi X-RAY | semantic-release Summary
semantic-release written in go
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 semantic-release
semantic-release Key Features
semantic-release Examples and Code Snippets
Community Discussions
Trending Discussions on semantic-release
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
I have a private npm package that is currently published to npm. The maintainer before me did not consider automated versioning, and the version is 1.0.58.
I have installed semantic-release and a small GitHub app that can be found here: https://github.com/zeke/semantic-pull-requests
My Github Action is setup properly, because when I push to main, the process goes through and reach the publishing step. However, the tags that are created started at 1.0.0, then 1.0.1, etc.
I tried creating a tag manually on the main branch at the latest merge, that tag is v1.0.58, but when I publish again, the tag that is created is still 1.0.2, etc. As such, I get an error message that says I can't publish "over" the current version.
How do I go the 1.0.59 with a fix:... commit?
Thanks everyone!
...ANSWER
Answered 2021-May-08 at 22:47Forgot to post solution...
It seems Semantic Pull Requests did not have a proper starting point as the initial tag was created after it was linked to the repository. Uninstalling Semantic Pull Requests, adding the latest tag (corresponding to current version of published npm package) manually and reinstalling Semantic Pull Requests caused to process to go through flawlessly with semantic-release.
QUESTION
I have used npx semantic-release
for tagging projects in GitHub. I am currently working on a project that uses a mono-repo layout, something like:
mono-repo
- api
- web
- mobile
I'd like to generate tags/releases separated each per component. I am not quite sure about how the tagging mechanism should work in this case. I was thinking about addiing logic to identify which component has been updated and generate a tag prefixing the component name like mobile-1.0.1
, api-1.2.1
, etc... Does anybody have previous experience working on something similar?
I was also thinking about creating a separate repo, each per component and from there everything will be easier to manage, any advice is appreciated.
...ANSWER
Answered 2021-Apr-05 at 21:47It seems the way to go it's lerna. I found out this library pretty useful in these cases. https://github.com/lerna/lerna/tree/main/commands/version
If you guys are using any other different approach, I'd like to know about any other alternative
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
When running npx semantic-release-cli
setup with GitHub Actions for my public repository https://github.com/henrycity/movie-browser-frontend, I got this error
ANSWER
Answered 2021-Feb-02 at 06:42The issue is fixed in version 5.4.3.
QUESTION
I am trying to automate the release of software using semantic-release. Everything is working fine. I run this command npx semantic-release --no-ci --dry-run
and get the following output in the terminal
ANSWER
Answered 2021-Jan-24 at 08:32With GNU sed.
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'm trying to get the version number out of a string which looks like this:
...ANSWER
Answered 2020-Oct-05 at 20:32You could use Busybox awk:
QUESTION
I was sucessfully uploading my apk to the play store in branch internal testing and suddently, it started to refuse my new apk with this error:
...ANSWER
Answered 2020-Aug-29 at 03:38It's a problem with version code. Play store detects previous or same version code in your code. So Just Replace your version code with 360010306. After that may resolve your issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install semantic-release
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