note snapshot availability
Also tweak version in build script.
This commit is contained in:
parent
de432a2245
commit
eddd940018
2 changed files with 5 additions and 2 deletions
|
|
@ -21,6 +21,8 @@ The documentation on GitHub is for **develop** since the 1.2.724 release -- [see
|
||||||
|
|
||||||
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
|
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
|
||||||
|
|
||||||
|
> Note: every commit to the **develop** branch runs CI (GitHub Actions) and successful runs push a MAJOR.MINOR.999-SNAPSHOT build to Clojars so the very latest version of `next.jdbc` is always available either via that [snapshot on Clojars](https://clojars.org/com.github.seancorfield/next.jdbc) or via a git dependency on the latest SHA.
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
Why another JDBC library? Why a different API from `clojure.java.jdbc`?
|
Why another JDBC library? Why a different API from `clojure.java.jdbc`?
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,9 @@
|
||||||
[org.corfield.build :as bb]))
|
[org.corfield.build :as bb]))
|
||||||
|
|
||||||
(def lib 'com.github.seancorfield/next.jdbc)
|
(def lib 'com.github.seancorfield/next.jdbc)
|
||||||
(def version (format "1.2.%s" (b/git-count-revs nil)))
|
(defn- the-version [patch] (format "1.2.%s" patch))
|
||||||
(def snapshot "1.2.999-SNAPSHOT")
|
(def version (the-version (b/git-count-revs nil)))
|
||||||
|
(def snapshot (the-version "999-SNAPSHOT"))
|
||||||
|
|
||||||
(defn test "Run all the tests." [opts]
|
(defn test "Run all the tests." [opts]
|
||||||
(reduce (fn [opts alias]
|
(reduce (fn [opts alias]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue