Giter Site home page Giter Site logo

Comments (1)

codejedi365 avatar codejedi365 commented on June 5, 2024

Why is it given in every example setup?

Traditionally, CI's do not have git configured automatically which will cause failures for git when trying to make a local commit or create a local tag. I'm sure this is why we had it in there.

Removing these setting does't change the behaviour of pushing changelogs. Also these settings are ignored and set by the semantic-release defaults: semantic-release <semantic-release>: https://python-semantic-release.readthedocs.io/en/latest/configuration.html#commit-message-str

However, I don't know when we added the configuration option to set the commit author and commit message string but I did verify that all the version commands do pass an author and email to the git command when semantic-release executes a history altering modification. If the user does not provide a commit_author the default is used, so currently the code will never execute without a value set. I also verified that Git user.name and user.email are not required for checkout and pushes.

I believe you are correct that the git configurations can be removed from the docs at this point. Thank you for making us aware of these extra steps.

In almost every example is before running sematic-release the git config for user.email and user.name set.

Which examples are you talking about? I have only found git config in 1 place in the entire codebase/docs:

from python-semantic-release.

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.