Comments (9)
Matttttttt! I'll probably update this CI instance. On other instances where we're using the latest version of Git we don't have this issue.
from npm.
these might be helpful for what youre looking for. regardless, git v2.0.0 was released on May 28, 2014 and some pretty major security issues have been fixed since then. your time would probably be better invested in upgrading to a supported version of git
- https://semantic-release.gitbook.io/semantic-release/support/faq#why-is-the-package-jsons-version-not-updated-in-my-repository
- semantic-release/semantic-release#856
from npm.
semantic-release require git 2.0.0 at minimum. We started to enforce that in some 15.x version.
Before that, semantic-release with Git v1.x.x was working "sometimes". So we decided to enforce it.
from npm.
I have git 2.21.0 and I'm seeing this issue - is this a bug?
from npm.
@patrickleet that's on the same node and workspace?
from npm.
@rodoabad it is
from npm.
this worked a couple weeks ago also
from npm.
perhaps this is related?
I added some logs to see what was going on more:
+ DEBUG='semantic-release*'
+ semantic-release --debug
[11:15:02 PM] [semantic-release] › ℹ Running temp-semantic-release-debug version 15.13.4
{ stdout: 'git version 1.8.3.1' }
{ versions: [ '1.8.3' ] }
{ gitVersion: '1.8.3' }
[semantic-release]: Git version 2.0.0 is required. Found 1.8.3.
script returned exit code 1
The related issue describes execa modifying paths and causing the wrong version to be used.
from npm.
That was it!
+ DEBUG='semantic-release*'
+ semantic-release --debug
[11:35:22 PM] [semantic-release] › ℹ Running temp-semantic-release-debug version 15.13.5
{ stdout: 'git version 2.21.0' }
{ versions: [ '2.21.0' ] }
{ gitVersion: '2.21.0' }
2019-04-04T23:35:22.411Z semantic-release:config load config from: undefined
2019-04-04T23:35:22.414Z semantic-release:config options values: { branch: 'master',
Will make a PR
from npm.
Related Issues (20)
- Why is `npm version` used to set the version? HOT 1
- Add support for npm v9 HOT 7
- `prepack` run twice when set `tarballDir` HOT 1
- npm publish looks for package.json at disk root HOT 3
- Incompatible with Yarn (Berry) HOT 1
- a `Cannot read properties of null (reading 'matches'` error when using multi-semantic-release HOT 8
- Use clean-publish
- fix vulnerability with http-cache-semantics <4.1.0 HOT 4
- Why support of legacy auth was dropped? HOT 2
- pkgRoot property not working HOT 1
- Provenance support not working? HOT 1
- npm whoami failing HOT 3
- `package.json` version not updated, despite correct plugin ordering HOT 1
- Set --no-workspaces with npm version HOT 2
- Command failed with exit code 1: npm version 0.22.2 --userconfig HOT 2
- error on publishing HOT 1
- Publishing failed since update from [email protected] to [email protected] with files mentioned in .gitignore HOT 6
- Update a package.json in a sub folder
- CVE-2023-42282 HOT 1
- Support for custom package.json properties to write changelist entries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm.