Questions tagged [semantic-release]

semantic-release automates package release workflow.

semantic-release automates package release workflow.

Links

161 questions
1
vote
0 answers

Only apply tag using semantic-release

As far as I read the documentation of semantic-release, it does many things in sequence. It applies the tag in the commit and publish it to the Github releases. Q: Is it possible to separate those 2 steps somehow? In 1st stage, I only want to apply…
Jay Joshi
  • 1,402
  • 1
  • 13
  • 32
1
vote
1 answer

Cannot run semantic-release-cli setup for GitHub action

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 ERR! semantic-release RequestError: Error: Invalid URI…
1
vote
0 answers

semantic-release fails to increase version

If there is any changes via merge from branch to master, we need semantic-release to analyse the commit message and increase the release version. We are using Bitbucket scm. The process of how we merge from branch to master, developer create a pull…
bittersour
  • 937
  • 2
  • 11
  • 32
1
vote
0 answers

`yarn semantic-release-cli setup` fails with 404 from github authorizations API

Running this command yarn semantic-release-cli setup And giving these answers ? What is your npm registry? https://registry.yarnpkg.com/ ? Which authentication method is this npm registry using? Token based ? What is your npm username? ... ? What…
tvanc
  • 3,807
  • 3
  • 25
  • 40
1
vote
1 answer

How to grant permission for semantic-release to push code to master

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 module.exports = { …
1
vote
0 answers

Project releases for NX Monorepo and Azure DevOps

We migrated 5 Angular projects into a NX Monorepo, for CI/CD we use Azure DevOps. Before switching to the monorepo we were using semantic releases, but now this approach would not be so great anymore as there would be just one release at the time…
Francesco
  • 9,947
  • 7
  • 67
  • 110
1
vote
0 answers

GitLab CI - separate environments deployment and semantic release

I am trying to follow GitLab flow with staging and production environments. I also want semantic-release plugin for both environments (with this I also need a branch for every environment so semantic-release could work, right?) I have successfully…
TheSpixxyQ
  • 744
  • 1
  • 6
  • 16
1
vote
1 answer

How to make semantic-release do a release on a docs commit?

I started using semantic-release for some projects I have, is there a way to "force" a patch release on a docs: commit? Why on docs? Because it publishes on npm too and I want to have the latest documentation there. I also use dependabot to keep my…
Alvaro Castro
  • 811
  • 1
  • 9
  • 26
1
vote
1 answer

semantic-release command in circleci throws error regarding execa

I am trying to release a package to npm. When CircleCI is trying to run semantic-release it throws the following error: /home/circleci/src/node_modules/semantic-release/node_modules/execa/index.js:18 const env = extendEnv ? {...process.env,…
Aida
  • 2,174
  • 2
  • 16
  • 33
1
vote
1 answer

Pushing to repository with semantic-release and checkout out in other job with GitHub Actions

We're using GitHub Action to automatically publish our application. For this, we call semantic-release in our CI pipeline and then generate the binaries with electron-builder in the next step. We need binaries for MacOS, Windows and Linux. Sadly, we…
SebastianR
  • 1,683
  • 2
  • 17
  • 33
1
vote
1 answer

semantic release does not generate release on a branches needed

I am using semantic-rlease library and here is my release.config.js: require('dotenv').config(); module.exports = { branch: 'rel', dryRun: false, debug: true, repositoryUrl: 'https://github.xxx.com/xxx/backend', githubUrl:…
Learner
  • 1,686
  • 4
  • 19
  • 38
1
vote
1 answer

Automated change logs not generating with semantic-release on a non-master branch

In my node project - I'm trying to implement semantic-release to generate release notes in the form of the changelogs, bump the project version number. The same is installed in the project following the below command: npm i -D semantic-release@next…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
1
vote
2 answers

SemVer and GitFlow / How to patch a release

We are trying to implement automatic version bumping based on the semver spec... Ideally, we would just merge into master and produce a new version update on the CI. --------------development branch---- / …
1
vote
3 answers

How to make semantic-release with CircleCI fail on no changes found

I have setup a CircleCI job to run semantic-release, but I would like CircleCI to fail when no changes are found. i.e. when semantic-release outputs: There are no relevant changes, so no new version is released CircleCi snippet for the runline. …
jon_robins
  • 11
  • 1
1
vote
1 answer

Unexpected EPLUGINCONF at plugin loading phase

I'm implementing a semantic-release plugin but when I applied it to build, it triggers following error. I can understand that generated configuration for my plugin (gradle-semantic-release-plugin) is bad, but I cannot find why it happened and how I…
Kengo TODA
  • 426
  • 4
  • 10