cvillecsteele / lein-git-version Goto Github PK
View Code? Open in Web Editor NEWA leiningen plugin to use git tags as the source of project information.
A leiningen plugin to use git tags as the source of project information.
Setting :tag-to-version in project.clj resulted in this error:
java.lang.ClassCastException: clojure.lang.PersistentList cannot becast to clojure.lang.IFn
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
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.