Coder Social home page Coder Social logo

lein-tag-no-sign's Introduction

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 issues on leiningen asking about this, but no one took the step to fix it yet and there is a PR 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:

  :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 for more info.

License

Copyright © 2015 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

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.