Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nberger/lein-tag-no-sign
(DEPRECATED since leiningen 2.5.3) A Leiningen plugin to provide a non-signing alternative to vcs tag task.
https://github.com/nberger/lein-tag-no-sign
Last synced: about 1 month ago
JSON representation
(DEPRECATED since leiningen 2.5.3) A Leiningen plugin to provide a non-signing alternative to vcs tag task.
- Host: GitHub
- URL: https://github.com/nberger/lein-tag-no-sign
- Owner: nberger
- License: epl-1.0
- Created: 2015-04-24T00:50:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-21T23:13:51.000Z (about 9 years ago)
- Last Synced: 2024-06-10T10:17:22.402Z (5 months ago)
- Language: Clojure
- Homepage:
- Size: 172 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEPRECATION NOTICE: This plugin is deprecated since the release of Leiningen 2.5.3 which added this option to the vcs tag task.
# lein-tag-no-sign
A Leiningen plugin to provide a non-signing alternative to vcs tag task.
Leiningen's default `vcs tag` task uses `git tag -s` to create a signed tag. That's cool for many projects, but some others do not need or want to sign their tags. There are a couple of [reported](https://github.com/technomancy/leiningen/issues/1873) [issues](https://github.com/technomancy/leiningen/issues/1799) on leiningen asking about this, ~~but no one took the step to fix it yet~~ and there is a [PR](https://github.com/technomancy/leiningen/pull/1986) to address them, so this library will be deprecated as soon as that change lands in a new leiningen release.
This plugin is an easy way (ugly hack?) to have this working now, and also a great exercise for me to create a leiningen plugin :)
## Usage
Put `[lein-tag-no-sign "0.1.0"]` into the `:plugins` vector of your project.clj.
The behavior of the tag-no-sign task mimics the `vcs tag` task, except that it doesn't try to sign the tag.
You can call it from the command line
$ lein tag-no-sign
Or most probably you could use it as part of your customized release-tasks in your project.clj:
```clojure
:release-tasks [["vcs" "assert-committed"]
["change" "version"
"leiningen.release/bump-version" "release"]
["vcs" "commit"]
["tag-no-sign"]
["uberjar"]]
```See the leiningen doc about [Overriding the default :release-tasks](https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md#overriding-the-default-release-tasks) for more info.
## License
Copyright © 2015 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.