Giter Site home page Giter Site logo

Comments (9)

rodoabad avatar rodoabad commented on July 19, 2024 1

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.

travi avatar travi commented on July 19, 2024

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

from npm.

pvdlg avatar pvdlg commented on July 19, 2024

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.

patrickleet avatar patrickleet commented on July 19, 2024

I have git 2.21.0 and I'm seeing this issue - is this a bug?

image

from npm.

rodoabad avatar rodoabad commented on July 19, 2024

@patrickleet that's on the same node and workspace?

from npm.

patrickleet avatar patrickleet commented on July 19, 2024

@rodoabad it is

from npm.

patrickleet avatar patrickleet commented on July 19, 2024

this worked a couple weeks ago also

from npm.

patrickleet avatar patrickleet commented on July 19, 2024

sindresorhus/execa#196

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.

patrickleet avatar patrickleet commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.