Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to not sign git tags #1799

delitescere opened this Issue Jan 14, 2015 · 3 comments


None yet
5 participants
Copy link

delitescere commented Jan 14, 2015

Many projects like to sign tags (including this one itself). Many more others do not.

There has been previous discussion ( as to why the leiningen source code repository has signed tags, and those points are undisputed.

Other projects do not require tag signing. Even open-source projects with broad contribution may not desire tag signing and use a different mechanism to "sign off" contributions (cf.

Whatever the case, the user should have the option to either sign or not sign tags. Given the leiningen team sign by default, it may be the option is to turn off signing (even though that is the inverse of git defaults). It would be preferred if the option was set using the existing 'profiles' mechanisms (e.g. :vcs-options {:tag-sign false}). Preferably, the lein vcs tag should also take a flag to turn off signing that overrides the profile merging (e.g. lein vcs tag --unsigned|-u.

Given the limited degrees of freedom of lein vcs tag implies so-called "lightweight tags" in git (that is, git tag with no options).


This comment has been minimized.

Copy link

grahamlyons commented Jan 24, 2015

I'd also like this feature. I've never worked on a project before that signs git tags so having signing on by default doesn't work for me and my team.

I'd prefer to have signing off as the default but the option to turn it off would be great.


This comment has been minimized.

Copy link

technomancy commented Jan 24, 2015

If you'd like to see it implemented, the best way is to take a crack at writing it. However, the default must stay as it is. I like the description of the config and CLI options given in the issue description but am open to suggestions for alternatives.


This comment has been minimized.

Copy link

nberger commented Aug 13, 2015

Because I needed this, I implemented it as a lein plugin:

The README explains how to use it, including an example of how to override the default release-tasks. Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.