Re: [ANN] lein-sha-version plugin for leiningen project version based on git SHA
Hugo Duncan writes: lein-sha-version is a leiningen plugin that sets the project version based on the git SHA of the HEAD of the current branch. It can be used to create jars with a fixed version, but without the trappings of a full release version. It provides a simple way of doing SNAPSHOT type releases without the disadvantage of having SNAPSHOT resolve to a moving target version. It is a leiningen middleware, and does not provide any leiningen task. It does not modify the project.clj file. See https://github.com/pallet/lein-sha-version for usage. Hugo Out of curiosity, doesn't maven's snapshot pining already do this? ; Lee Hinman -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: [ANN] lein-sha-version plugin for leiningen project version based on git SHA
Hugo Duncan writes: lein-sha-version is a leiningen plugin that sets the project version based on the git SHA of the HEAD of the current branch. It can be used to create jars with a fixed version, but without the trappings of a full release version. It provides a simple way of doing SNAPSHOT type releases without the disadvantage of having SNAPSHOT resolve to a moving target version. It is a leiningen middleware, and does not provide any leiningen task. It does not modify the project.clj file. See https://github.com/pallet/lein-sha-version for usage. Hugo Actually, disregard, I read it wrong. I see why this would be useful now. ; Lee -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: [ANN] lein-sha-version plugin for leiningen project version based on git SHA
Lee Hinman matthew.hin...@gmail.com writes: Hugo Duncan writes: lein-sha-version is a leiningen plugin that sets the project version based on the git SHA of the HEAD of the current branch. It can be used to create jars with a fixed version, but without the trappings of a full release version. It provides a simple way of doing SNAPSHOT type releases without the disadvantage of having SNAPSHOT resolve to a moving target version. Out of curiosity, doesn't maven's snapshot pining already do this? You can pin usage of a snapshot based on upload timestamp. The lifetime of SNAPSHOT artifacts is however controlled by the repo policies, so a particular (timestamped) version of SNAPSHOT jar can disappear at any time. Jars produced when using this plugin would be considered release jars in the maven repo world. Hugo -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en