Skip to content

Commit df0cffb

Browse files
committed
push new release
1 parent 5b48a90 commit df0cffb

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Relevant parts to add to the `build.boot` :
5959

6060
```clojure
6161
(set-env! :dependencies '[;; ...
62-
[nha/boot-uglify "0.0.6"]
62+
[nha/boot-uglify "2.8.29"]
6363
])
6464

6565
(require

boot.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#https://github.com/boot-clj/boot
22
#Sat Jun 13 18:06:56 EEST 2015
33
BOOT_CLOJURE_VERSION=1.10.1
4-
BOOT_VERSION=2.8.3
4+
BOOT_VERSION=2.8.2
55
BOOT_EMIT_TARGET=no

build.boot

+22-3
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,42 @@
1212
[org.apache.commons/commons-lang3 "3.9"]
1313
[org.meteogroup.jbrotli/jbrotli "0.5.0"]])
1414

15-
(require '[adzerk.bootlaces :refer [bootlaces! build-jar push-snapshot push-release]]
15+
(require '[adzerk.bootlaces :refer [bootlaces! build-jar push-snapshot]]
1616
'[metosin.bat-test :refer [bat-test]]
1717
'[adzerk.boot-test :refer [test]]
1818
'[boot.core :as core :refer [deftask]]
19+
'[boot.task.built-in :refer [push]]
20+
'[boot.git :refer [last-commit]]
1921
'[nha.run])
2022

21-
(def +version+ "2.8.29-SNAPSHOT")
23+
(def +version+ "2.8.29")
2224

2325
(bootlaces! +version+)
2426

27+
28+
(def ^:private +last-commit+
29+
(try (last-commit) (catch Throwable _)))
30+
31+
(deftask push-release
32+
"Deploy release version to Clojars."
33+
[f file PATH str "The jar file to deploy."]
34+
(comp
35+
(#'adzerk.bootlaces/collect-clojars-credentials)
36+
(push
37+
:file file
38+
:tag (boolean +last-commit+)
39+
:gpg-sign false
40+
:ensure-release true
41+
:repo "deploy-clojars")))
42+
2543
(task-options!
2644
pom {:project 'nha/boot-uglify
2745
:version +version+
2846
:description "Boot task to uglify js code"
2947
:url "https://github.com/nha/boot-uglify"
3048
:scm {:url "https://github.com/nha/boot-uglify"}
31-
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}})
49+
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}}
50+
push-release {:gpg-sign false})
3251

3352
(deftask dev
3453
"Dev process"

0 commit comments

Comments
 (0)