Questions tagged [semantic-release]

semantic-release automates package release workflow.

semantic-release automates package release workflow.

Links

161 questions
0
votes
0 answers

Semantic-release does not auto-release the already pre-tagged versions to github-releases

Issue Semantic-release does not auto-release the already pre-tagged versions to github-releases. This means it does not work for the versions, which were already tagged before setting up semantic-release on the repo. My sample GitHub repo with…
0
votes
0 answers

semantic-release does not detect old tags/releases performed before semrel integration

We were using GitLab release job to create releases whenever a tag is manually created, and we have already few tags/releases created that way, now we are moving to semantic-release to create releases for each commit to release branch, now when we…
0
votes
1 answer

Why does semantic-release backmerge fail with HEAD -> develop (non-fast-forward)?

I'm using semantic-release with saitho/semantic-release-backmerge. The branch structure looks like this: release <- beta <- alpha The branches alpha, beta are pre-release branches and release is the stable branch. The usual flow works fine: commits…
Manuel
  • 14,274
  • 6
  • 57
  • 130
0
votes
0 answers

Why does a "/" in commit message break semantic-release?

I noticed that when using semantic-release/commit-analyzer plugin in gitlab ci, if there is a "/" in the commit message this breaks semantic release resulting in the following "error": [7:28:38 AM] [semantic-release]…
Tallulah
  • 51
  • 1
  • 11
0
votes
1 answer

semantic-release in a GitLab pipeline with multiple users

I'm running a semantic-release job in a GitLab pipeline, it works great but only for my user (I configured it). No one else seems able to trigger a release, even if I merge their code. No errors, everything seems to run smoothly. I'm assuming…
jshwlkr
  • 335
  • 6
  • 18
0
votes
1 answer

using semantic-release to update version strings in release and via commit for non-npm project

I am developing a handful of WordPress projects on Gitlab and I would like to use semantic-release to automatically manage releases. To that end I'm trying to accomplish a few additional things: Update and commit applicable version strings in the…
jshwlkr
  • 335
  • 6
  • 18
0
votes
1 answer

How to publish a release with semantic-release on GitHub?

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 { "branches": "main", "plugins": [ [ …
Marvin
  • 129
  • 1
  • 13
0
votes
1 answer

semantic-release does not update package.json of my Angular library

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…
gabhar
  • 187
  • 1
  • 4
  • 14
0
votes
1 answer

Sematic release failing in gitlab ci for large number of commits

i am using semantic release with gitlab. I have added a job in ci for running semantic release which seems to run normally for normal number of commits but when i ran it on a branch with around 1500 commits it failed Analyze commits run and then it…
Origin
  • 1,182
  • 1
  • 10
  • 25
0
votes
1 answer

How can I use environmental variables in the .releaserc.json?

I want to do something like this, ["@semantic-release/exec", { "prepareCmd": "echo hello ${HOME};" }], And then run this CI job with an environmental variable? Is there a method of making this work in semantic-release?
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
0
votes
0 answers

Is it possible to get the version released by semantic release in github actions?

I am using github actions for my project and to release I am using semantic release, Once semantic release releases the version Is it possible to forward that version to next steps? release: runs-on: ubuntu-latest steps: - name:…
0
votes
1 answer

Repo not found using semantic-release-monorepo in GitHub Actions workflow

I am creating a GitHub Actions workflow to build and publish npm packages to GitHub Packages. The repo is a monorepo with several packages, so I am using the semantic-release-monorepo tool. However, the step to publish is failing and I can't figure…
wizloc
  • 2,202
  • 4
  • 28
  • 54
0
votes
1 answer

semantic_release failing suddenly on CircleCI - remote: Invalid username or password

When running a check and release on CircleCI, the process started to fail on the release stage using semantic_release. It had been working fine for months. The error message was: [3:24:45 AM] [semantic-release] › ✖ An error occurred while running…
CanuckT
  • 321
  • 1
  • 3
  • 14
0
votes
1 answer

semantic-release: how to avoid race conditions when assigning version numbers?

I am looking at implementing semantic-release in my GitLabCI build process, for a C++ application. However I'm concerned about potential race conditions. Firstly, if two builds are running concurrently, both with the same kind of version increment…
davidA
  • 12,528
  • 9
  • 64
  • 96
0
votes
2 answers

Setup @semantic-release for considering 'refactor' commits in the CHANGELOG

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…
Manu Artero
  • 9,238
  • 6
  • 58
  • 73