Questions tagged [semantic-release]

semantic-release automates package release workflow.

semantic-release automates package release workflow.

Links

161 questions
0
votes
1 answer

GitHub Workflow on tags not started with semantic release

I have a workflow that should run whenever a new tag is pushed to GitHub: on: push: tags: - '*' I use the semantic release plugin to automatically create new versions (xx.yy.zz) whenever something is merged into the master. This…
Simon
  • 194
  • 13
0
votes
1 answer

Avoiding 2nd semantic-release Commit on Bitbucket Cloud

I'm using Bitbucket Cloud and everything works wonderfully using pipelines, except I always get an extra commit after my release/tag commit, as follows: Notes added by 'git notes add' -- author: semantic-release-bot Is there any way to avoid…
Sammy
  • 3,395
  • 7
  • 49
  • 95
0
votes
1 answer

npm semantic-release - specify version

I am using npm semantic-release in my project (https://www.npmjs.com/package/semantic-release). While I understand that the idea is not to tinker with the calculated version, I would like to create a specific version as a one off. Does anyone know…
Stuart
  • 3,226
  • 5
  • 24
  • 28
0
votes
1 answer

Semantic-release - Error: Cannot find module '../output'

No matter what I do I always get exactly the same error when I run command 'npx semantic-release --debug ' in BitBucket pipelines. Dry-run seems to run fine. Thing I have already tried: reinstall node modules update packages copy exactly the same…
0
votes
1 answer

Maven jar:jar not gathering dependencies

I am trying to use semantic-release within a GitLab CI pipeline. I have the prepare stage working fine, but the publish stage always fails when I use anything other than mvn jar:jar deploy:deploy, but when i use those commands it deploys a jar that…
user8072194
0
votes
1 answer

Why should I specify a branch in semantic-release?

In semantic-release it's possible to specify a branch. For this, the documentation only states: The branch on which releases should happen. What effect has this property? What happens if I do not use it? What happens if I use it, and run…
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
0
votes
1 answer

peer dependencies issue and token issue when installing semantic-release/gitlab

I'm currently learning how to use semantic-release/gitlab to get automate versioning after pushing to my branch, but when I tried the command below in bash:(directory is in my project folder) npm install -g semantic-release/gitlab I got warning npm…
0
votes
1 answer

Semantic-release release-notes-generator how to teach new types

Can anyone give us a hint how to configure @semantic-release/release-notes-generator to take extra commit types (those additional to preset ones) while generating release-notes? Our commits-analyzer config: "@semantic-release/commit-analyzer", …
0
votes
1 answer

used a 'next' branch to publish my next version, now how do i merge it to master with semantic-release

I created a 'next' branch to release the 'next' version of my package to npm. which i think is a pretty darn cool feature of semantic-release. However, now I'm a bit unclear on what I need to do to properly move that over to my master branch to…
Ben
  • 16,124
  • 22
  • 77
  • 122
0
votes
0 answers

My build on `master` branch runs twice with semantic-release

I have a working demo where I have 2 builds running every-time i merge to master. i.e, one is by my user & the other is by semantic-release-bot which is always [skip-ci] https://github.com/adeelibr/learn-semantic-release/commits/master (like the…
Adeel Imran
  • 13,166
  • 8
  • 62
  • 77
0
votes
1 answer

With semantic-release how can I view the release note in dry run without publishing rights?

Using semantic-release I want to verify my commit message can render proper release notes, and I have no publishing rights, how do I do it?
golopot
  • 10,726
  • 6
  • 37
  • 51
0
votes
0 answers

Unable to push to unqualified destination with semantic-release

I'm trying to release my library from Jenkins job using semantic-release, but I get this error: error: unable to push to unqualified destination: origin/semantic-release-test From my local machine, I have no problem. This is the full log: …
Alavaros
  • 1,665
  • 7
  • 32
  • 52
0
votes
1 answer

Does semantic-release have a replacer to replace a string in a file?

I was surprised not to see a plugin for semantic-release to do replacing of strings (e.g., by regex) within files, e.g., to update the version string in a service-worker (as well as README). Does semantic-release have such a feature or plugin?
Brett Zamir
  • 14,034
  • 6
  • 54
  • 77
0
votes
1 answer

getting version during preversion step

I am using a package called babel-plugin-inline-package-json to pull out my version number during my build step. Currently using semantic-release the package version is always 0.0.0 instead of the correct version number. I setup semantic-release to…
Mike F
  • 309
  • 1
  • 8
  • 18
0
votes
0 answers

Why is $HOME/.config/git/credentials ignored when semantic-release do git push

I am using git 2.19.0 and I have my release CI job failing. I want to authenticate using git git-credentials. This is how I create my $HOME/.config/git/credentials if [[ "${CI_PROJECT_URL}" =~ (([^/]*/){3}) ]]; then mkdir -p $HOME/.config/git …
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
1 2 3
10
11