Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

lein-version-script

A small Leiningen plugin that sets the project version from a shell script.

Installation

Add the following to the :plugins section of your project.clj file:

[lein-version-script "0.1.0"]

Usage

Add a :version-script key to your project file that contains a bash script to execute:

:version-script "git rev-parse --short HEAD"

The STDOUT from this script will be used as the project version.

License

Copyright © 2014 James Reeves

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

About

A Leiningen plugin to set the project version from a shell script

Resources

Packages

No packages published