From 03ce993e93caca8fdf5ab05cd25d33a7d7817389 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Wed, 18 Jul 2018 23:23:00 +0100 Subject: [PATCH 1/7] Upversion to 0.1.1-SNAPSHOT --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index 57bd543..7b3b8cd 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject adl-support "0.1.0-SNAPSHOT" +(defproject adl-support "0.1.1-SNAPSHOT" :description "A small library of functions called by generated ADL code." :url "http://example.com/FIXME" :license {:name "MIT License" From dc1b4a5e44d70b0ec79ca5ea88f33ff3ad2ed9c5 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 19 Jul 2018 21:52:16 +0100 Subject: [PATCH 2/7] lein-release plugin: preparing 0.1.1 release --- project.clj | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index 7b3b8cd..9312fdc 100644 --- a/project.clj +++ b/project.clj @@ -1,9 +1,25 @@ -(defproject adl-support "0.1.1-SNAPSHOT" +(defproject adl-support "0.1.1" :description "A small library of functions called by generated ADL code." :url "http://example.com/FIXME" :license {:name "MIT License" :url "https://opensource.org/licenses/MIT"} + :dependencies [[org.clojure/clojure "1.8.0"] [org.clojure/math.numeric-tower "0.0.4"] [org.clojure/tools.logging "0.3.1"] - [selmer "1.10.6"]]) + [selmer "1.10.6"]] + + :plugins [[lein-codox "0.10.3"] + [lein-release "1.0.5"]] + + :release-tasks [["vcs" "assert-committed"] + ["change" "version" "leiningen.release/bump-version" "release"] + ["vcs" "commit"] + ;; ["vcs" "tag"] -- not working, problems with secret key + ["clean"] + ["test"] + ["uberjar"] + ["codox"] + ["install"] + ["change" "version" "leiningen.release/bump-version"] + ["vcs" "commit"]]) From e394c7b79af8145b8300850be1d930c16bdf2d64 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 19 Jul 2018 22:01:28 +0100 Subject: [PATCH 3/7] Automate release process --- project.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project.clj b/project.clj index 9312fdc..a90c092 100644 --- a/project.clj +++ b/project.clj @@ -1,6 +1,6 @@ (defproject adl-support "0.1.1" :description "A small library of functions called by generated ADL code." - :url "http://example.com/FIXME" + :url "https://github.com/simon-brooke/adl-support" :license {:name "MIT License" :url "https://opensource.org/licenses/MIT"} @@ -13,13 +13,13 @@ [lein-release "1.0.5"]] :release-tasks [["vcs" "assert-committed"] + ["clean"] + ["test"] + ["codox"] ["change" "version" "leiningen.release/bump-version" "release"] ["vcs" "commit"] ;; ["vcs" "tag"] -- not working, problems with secret key - ["clean"] - ["test"] ["uberjar"] - ["codox"] ["install"] ["change" "version" "leiningen.release/bump-version"] ["vcs" "commit"]]) From 9959e3410d02bb95c3353b2ef8945b82ab0b7438 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 19 Jul 2018 22:04:51 +0100 Subject: [PATCH 4/7] Reset to SNAPSHOT while working on automated release process --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index a90c092..e50aa65 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject adl-support "0.1.1" +(defproject adl-support "0.1.1-SNAPSHOT" :description "A small library of functions called by generated ADL code." :url "https://github.com/simon-brooke/adl-support" :license {:name "MIT License" From 09ca6c4200ae25ffef3cebdd97cd7843cfcd647a Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 19 Jul 2018 22:06:25 +0100 Subject: [PATCH 5/7] Version 0.1.1 --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index e50aa65..a90c092 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject adl-support "0.1.1-SNAPSHOT" +(defproject adl-support "0.1.1" :description "A small library of functions called by generated ADL code." :url "https://github.com/simon-brooke/adl-support" :license {:name "MIT License" From bcb1bb9dbc1e87db661c8a56ba4c402acc1338d1 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 19 Jul 2018 22:07:08 +0100 Subject: [PATCH 6/7] Version 0.1.2-SNAPSHOT --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index a90c092..67407e7 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject adl-support "0.1.1" +(defproject adl-support "0.1.2-SNAPSHOT" :description "A small library of functions called by generated ADL code." :url "https://github.com/simon-brooke/adl-support" :license {:name "MIT License" From 5faeaddd34a7fb502106737c6ecb3e59cf2d8bca Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 19 Jul 2018 22:21:35 +0100 Subject: [PATCH 7/7] Added automatic deployment to clojars into the release process --- project.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/project.clj b/project.clj index 67407e7..de69284 100644 --- a/project.clj +++ b/project.clj @@ -21,5 +21,6 @@ ;; ["vcs" "tag"] -- not working, problems with secret key ["uberjar"] ["install"] + ["deploy" "clojars"] ["change" "version" "leiningen.release/bump-version"] ["vcs" "commit"]])