Questions tagged [semantic-release]

semantic-release automates package release workflow.

semantic-release automates package release workflow.

Links

161 questions
1
vote
1 answer

semantic-release: is it possible to track and release a certain directory in a repo?

We have a Java project with a JavaScript submodule, the structure looks like this: java-project |- folder1 |- folder2 |- ... |- javascript-submodule |- package.json |- ... Is it possible to set up semantic-release to track changes to…
Limon Monte
  • 52,539
  • 45
  • 182
  • 213
1
vote
1 answer

Does semantic-release support integration with Jenkins CI?

I was looking at semantic-release and was wondering if semantic-release support integration with Jenkins CI? When I looked at CI configuration, I could not find any configuration details for Jenkins. Can anyone please share valuable information on…
Siddarth
  • 351
  • 2
  • 6
  • 20
1
vote
1 answer

How to detect the next semver version automatically, based on the commit history? (CLI alternative to commit-analyzer)

We have a custom script with some tricky steps which accepts the version number as an argument, something like this: ./custom-release-script.js 1.2.3 I would like to automate the releasing process and run that script from CI. In order to do that, I…
Limon Monte
  • 52,539
  • 45
  • 182
  • 213
1
vote
1 answer

Semantic-release does not publish after successful travis run

I want to publish a version of a NPM package I manage. Here is the link: https://github.com/dixeed/eslint-config. I pushed to master, didn't have any error in my Travis build run but it did not run the npm run semantic-release pre && npm publish &&…
1
vote
2 answers

data['dist-tags'][npm.tag] - Cannot read property 'latest' of undefined

github: https://github.com/Sly777/React-UI-Debugger travis CI: https://travis-ci.org/Sly777/React-UI-Debugger semantic-release: ^6.3.2 basically i'm trying to publish package as first release to public by using semantic-release & travis CI but it…
the_bluescreen
  • 3,126
  • 2
  • 18
  • 31
0
votes
0 answers

Tagging latest with semantic release

So in our setup, we're using Github and Github Actions. We release to npm using semantic-release. We have a CI run that pushes to production when we release on either our main branch or our bugfix branch. However, when we push to main, the release…
Arak Tai'Roth
  • 408
  • 1
  • 7
  • 24
0
votes
0 answers

Semantic release changelog generation doesn't follow headerPattern from config

In the project I follow this pattern for commit messages: feat (XX-0000): commit message recommended pattern is: feat(XX-0000): commit message So without space after feat. The problem is I'm not able to generate a proper chnagelog right now with the…
programmer
  • 550
  • 2
  • 4
  • 25
0
votes
0 answers

Trigger semantic release based on pull request title

I use semantic-release package to trigger semantic release via GitHub Actions. Out of the box it uses @semantic-release/commit-analyzer plugin which analyzes the message of each commit in a pull request and determines a version of the release. Is…
0
votes
0 answers

semantic-release detected a breaking change commit in a merge from master, causing a new major alpha version

I think maybe we are using semantic release wrong at my company, but no one really knows the right way to use it. We have an alpha branch that creates releases with alpha tags at the end of the version. Every so often, we merge the master branch…
danielhep
  • 346
  • 1
  • 7
0
votes
1 answer

How to trigger semantic-release by a GitHub pull request?

We are using the semantic-release tool for releasing. I want to create a GitHub action that runs on every PR and leaves a comment on the PR with the expected release version before merging it. I am trying the following GH workflow config (the GH PR…
kbenda
  • 430
  • 5
  • 15
0
votes
0 answers

Getting tag version using semantic releases

I am using semantic release for versioning in my repo. In my Gitlab when i merge my branch with develop my tag increases according to the commit and it works fine. I now want to get the current version to pass it to another stage of CI. I followed …
bruvio
  • 853
  • 1
  • 9
  • 30
0
votes
0 answers

Semantic -release not generate commit message with version number

I am trying to use https://github.com/semantic-release/release-notes-generator For example if my present version is v1.0.0 when I added a fix and commit message as below. fix: I made a fix. I can see v1.0.1 In changeLog.md file I can see the updated…
0
votes
0 answers

Generating Release Notes using AWS CodeCommit and Amplify

I'm currently using AWS CodeCommit for git repo version control and Amplify to build/serve my files. I need to create release notes, as an exported file, when a merge is done against my main branch and preferably update my package.json version for…
0
votes
2 answers

Semantic release always uses semantic release bot user instead of own for git commits

I'm using semantic release and because I want to use signed commits I want to use my own git user. I have a publishCmd configured (@semantic-release/exec) which is a shell script and executes some logic, including git commands. In there I've set git…
mstruebing
  • 1,674
  • 1
  • 16
  • 29
0
votes
0 answers

Semantic Release not recognising pkgRoot variable

I am using Semantic Release with a private gitlab CI/CD, and getting the error when running the pipeline: npm ERR! enoent ENOENT: no such file or directory, open '/builds/squint-nyc/bootstrap-in-a-snap/package.json' The package.json is in a…