Comments (3)
That's very interesting, @jmendiara, didn't know about this option. Will definitely try this out soon. Thanks!
from release-it.
First, thanks for making a great release tool.
Could you implement this --follow-tags option by default instead of git push --tags
git push --tags sends all of your local tags even if they are tags which are only pointing to your local repo that you have not committed to the server. It creates tag pollution from multiple users in the shared central repo, and some of those tags may not point to anything in the destination repo since the tag was only local.
Follow tags is much better since it only pushes tags that match your commits to the shared destination repo.
git push --follow-tags
That won't push all the local tags though, only the one referenced by commits which are pushed with the git push.
In case you don't like the --follow-tags option for some reason, git push with the specific tag name is also quite valid and is perhaps what is intended when you're running the release-it command. This also avoids tag pollution on the server from multiple users since only one tag is pushed rather than all of the tags from the local repo.
from release-it.
Thanks for the report and explanation. I've released this change as a bugfix release in v2.4.1.
from release-it.
Related Issues (20)
- Change Log Repeats HOT 3
- Discussion - Pre-releases changelog duplicating header for pre-releases header HOT 3
- NPM IP package vulnerable to Server-Side Request Forgery (SSRF) attacks HOT 3
- Release-it picks up wrong release number. HOT 8
- Bug - Issue with github comment on resolved items HOT 10
- [ERROR] GitLab CI error on NPM notice HOT 2
- Cannot understand how release verison is calculated HOT 2
- Hook for after changelog is written to CHANGELOG.md? HOT 2
- Bug: Error when rolling back git tag release suppresses original error
- Error Invalid version HOT 7
- beta and alpha releases do not work HOT 7
- When publishing an npm package, when the publishPath option is set, isCollaborator should detect package.json under publishPath instead of the current directory. HOT 2
- Wrong documentation related to running a custom Git Push command HOT 4
- How can I change method of releasing (from "Release 0.0.1" to "v0.0.1") ? HOT 3
- How can I change parametrs from "Release 0.0.0" to "v0.0.0" after writing release-it, and publishing into repository ? HOT 7
- Return different message when requireCommitsFail is false HOT 1
- Commits to one dir generate release of another. HOT 2
- Programatic Usage: Release-Version Premature Exit HOT 1
- Can't quite get auto-changelog right in github release notes. githubRelease runs before git commit/tag HOT 8
- Can't upload github release assets without rewriting release's changelog HOT 2
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 release-it.