Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto release #244

Merged
merged 14 commits into from
Jul 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ tags:
deploy:
lein deploy clojars

.PHONY: release
release:
lein release

toc-install:
npm install --save markdown-toc

Expand Down Expand Up @@ -56,7 +60,7 @@ docker-build:

.PHONY: docker-test
docker-test:
docker run -it --rm \
docker run --rm \
-v $(CURDIR)/:/etaoin \
-w /etaoin ${IMAGE}:latest \
lein test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ There are two steps to installation:
Add the following into `:dependencies` vector in your `project.clj` file:

```
[etaoin "0.3.6"]
[etaoin "0.3.7"]
```

Works with Clojure 1.7 and above.
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

20 changes: 15 additions & 5 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
(def VERSION (.trim (slurp "VERSION")))

(defproject etaoin VERSION
(defproject etaoin "0.3.8-SNAPSHOT"

:description "Pure Clojure Webdriver protocol implementation."

Expand All @@ -9,6 +7,18 @@
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:deploy-repositories {"releases" {:url "https://repo.clojars.org" :creds :gpg}}

:release-tasks [["vcs" "assert-committed"]
["shell" "make" "docker-test"]
["change" "version" "leiningen.release/bump-version" "release"]
["vcs" "commit"]
["vcs" "tag" "--no-sign"]
["deploy"]
["change" "version" "leiningen.release/bump-version"]
["vcs" "commit"]
["vcs" "push"]]

:profiles {:dev {:plugins [[lein-codox "0.10.7"]]
:dependencies [[org.clojure/clojure "1.8.0"]
[log4j/log4j "1.2.17"]]
Expand All @@ -21,7 +31,6 @@
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}}
;[nrepl "0.6.0"]]}}

:dependencies [[clj-http "3.10.1"]
[cheshire "5.9.0"]
Expand All @@ -33,7 +42,8 @@
;; emit XUNIT test reports to enable CircleCI
;; to collect statistics over time
;;
:plugins [[test2junit "1.1.2"]]
:plugins [[test2junit "1.1.2"]
[lein-shell "0.5.0"]]
:test2junit-output-dir "target/test2junit"

:codox {:output-path "autodoc"})
13 changes: 0 additions & 13 deletions todo.org

This file was deleted.