Comments (1)
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)
- version_variables not working HOT 2
- How to get the program to analyse all the previous commits and increase the version number in a cumulative way HOT 9
- All pre-release changelog on release. HOT 6
- GitHub Actions can't create release: `ValueError: release id for tag <tag> not found, and could not be created` HOT 4
- BREAKING CHANGE does not appear to cause major version bump HOT 4
- How to pre-release in all other branch. HOT 2
- Add emojis in release and changelog HOT 3
- Github release creation fails with "Error: Unauthorized" despite GH_TOKEN HOT 6
- v10.0.0
- CLI option to check and fix incorrect commit messages HOT 1
- AttributeError: 'TOMLDocument' object has no attribute 'unwrap' HOT 1
- Implement CLI option to base versioning on latest tag only HOT 3
- configure changelog.md.j2 to have only final releases in the generated changelog.md HOT 3
- multibranch release version incorrectly incremented HOT 4
- Help not shown if semantic-release not configured HOT 2
- GitHub action raises stderr: 'error: src refspec main matches more than one HOT 3
- multibranch releases convert semver version to pep440 version HOT 2
- Relative template_dir path causes TemplateNotFound error in monorepo configuration HOT 3
- Updating version_variables that follow tag_format HOT 1
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 python-semantic-release.