Giter VIP home page Giter VIP logo

lein-git-version's People

Contributors

cvillecsteele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lein-git-version's Issues

Does not appear to work with lein uberjar

It seems to work fine when I do a lein jar,
but when I do lein uberjar, I get a stack trace as follows:

gows % lein uberjar
Exception in thread "main" java.io.FileNotFoundException: /Users/ap/Desktop/Dev/gows/src/gows/version.clj (No such file or directory), compiling:(/private/var/folders/2k/lh6ztvq94152dhbkgbl293hm0000gq/T/form-init4190422107294763219.clj:1:124)
at clojure.lang.Compiler.load(Compiler.java:7142)
at clojure.lang.Compiler.loadFile(Compiler.java:7086)
at clojure.main$load_script.invoke(main.clj:274)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invoke(main.clj:307)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:420)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.io.FileNotFoundException: /Users/ap/Desktop/Dev/gows/src/gows/version.clj (No such file or directory)

So it looks like it did not produce the desired version.clj file?

--alain picard

Why --abbrev=4 ?

This just bit me when I tried to copy-paste the 7-char version tag from git describe directly into my dependencies. Is there a reason for why lein git-version only uses a 4 character subset of these?

Append -SNAPSHOT to versions that are impure

By default lein deploy uses the maven -SNAPSHOT convention to determine if a lein deploy should go to a project's "snapshots" repository or "releases" repository.

It would be nice if this project appended "-SNAPSHOT" to git versions are aren't exactly on the tag to reduce logic elsewhere of where to push a project in progress.

Lein Deploy Doc

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.