Questions tagged [semantic-release]

semantic-release automates package release workflow.

semantic-release automates package release workflow.

Links

161 questions
0
votes
0 answers

Access repository name in semantic-release sharable config

I am using the shareable config feature of semantic-release to create a re-usable configuration which will use the exec plugin to upload a file to S3. I would like the file path to include the name of the repository which creates the release and I…
Daniel Scott
  • 7,418
  • 5
  • 39
  • 58
0
votes
0 answers

semantic-release with github-action: is it possible to track and release inner directory in a repo?

javascript-project1 |- .github/workflows/publish.yml |- folder1 |- folder2 |- package.json |- ... |- javascript-project2 |- package.json |- ... I want to only release inner javascript-project2 with semantic-release. I don't release…
0
votes
0 answers

Semantic release - maintenance release with suffix

I would like to achieve this using semantic release. master: 1.1.0 (release1) ---- 1.1.1 (release2)-------- \ \ release1: \ ---- feat(Something): ---- 1.1.0-mr.0 --- feat(SomethingElse): --- 1.1.0-mr.1 So release/1 could be…
0
votes
1 answer

Failed step "analyzeCommits" of plugin "[Function: nx-semantic-release] when running GitHub action

I have an issue with the GitHub action workflow that I have created for the purpose of automatically releasing versions of my NX monorepo. During the process, I encountered an issue when the workflow was executed, as shown below. I am using the…
Philip Mutua
  • 6,016
  • 12
  • 41
  • 84
0
votes
0 answers

Merge a branch that has "chore(release): 2.1.0 [skip ci]" as last commit message doesn't trigger a release

I'm trying out "semantic-release" scenarios, and if I create a next branch and publish a breaking change on that branch, the branch triggers a version 2.0.0, which is good. Now if I do a pull from the origin while I'm on the next branch, I get the…
Ruby
  • 2,207
  • 12
  • 42
  • 71
0
votes
0 answers

Daily release using semantic release

We have semantic-release set up in our repo at work. Tech leads asking me to: Let people merge to the main branch and it shouldn't trigger the release. It requires to automatically creating releases at 5pm from the main branch (not triggered by…
Negin Basiri
  • 1,305
  • 2
  • 26
  • 47
0
votes
0 answers

Semantic release 401 error when merging branch into main branch

When I merge my release candidate branch into my main brach i receive a 401 error. I have a release candidate "rc" branch that is at 1.06. I am trying to merge that branch into my main branch "release" which is still at 1.0. I'm pretty new to using…
0
votes
1 answer

Semantic-release not creating new version for package

I have an NPM package I am trying to set up semantic release for so it will automatically deploy with a version bump. I recently migrated from an old repo / npm package to a new one and since doing so semantic version wont create a new release for…
Stretch0
  • 8,362
  • 13
  • 71
  • 133
0
votes
1 answer

bump2version fails to find the current release tag

I've been upgrading our workflow to add an automatic version bump. The problem is that I accidentally added these steps with a typo in the .bumpversion.cfg file and from that moment, the workflow is sure that the releases start at tag 1.0.0. I've…
Killerz0ne
  • 254
  • 1
  • 2
  • 12
0
votes
0 answers

Gitlab CI semantic release local branch beta behind the remote one

I am using semantic release for handling versioning in my repo. But recently i am facing issues when running the job. I have a beta branch where beta versions are released. But when the changes are added to beta semantic release runs and shows The…
Origin
  • 1,182
  • 1
  • 10
  • 25
0
votes
0 answers

semantic-release last versions of maintenance branch are not accessible on latest dist-tag

I am using semantic-release package for automatic versioning. I want to maintenance my old versions. But when i configure the semantic-release like below, consumers who are use old version can not install last update.They always have to specify…
0
votes
0 answers

Semantic release using prerelease on beta branch

When using semantic-release and doing beta pre-releases. https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#pre-release-branches They say that if the last version on main is 1.0.0, if you push a breaking change to…
cbdeveloper
  • 27,898
  • 37
  • 155
  • 336
0
votes
1 answer

Publish Storybook components to NPM using Semantic Release and Github Actions

Article for reference I can set up Github Actions but get stuck on GitHub Release; it says Run npx semantic-release [semantic-release]: node version >=16 || ^14.17 is required. Found…
Toan Lam
  • 109
  • 2
  • 12
0
votes
0 answers

Semantic-Release Notes to Github Workflow Summary

I am trying to put release notes on the github summary. Using the exec plugin, I echo the notes (nextRelease.notes) into a file (called .NOTES) and the content is then put on the workflow summary. During the execution of a release, the notes are…
0
votes
1 answer

semantic-release Github multi-platform publish

I have an Electron app that I want to publish with semantic-release. I need to create a matrix in Github Action to build the app on different platforms: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] Now, if I run…
baruchiro
  • 5,088
  • 5
  • 44
  • 66