|
1 |
| -(defproject threatgrid/ctim "1.3.21-SNAPSHOT" |
| 1 | +(defproject threatgrid/ctim "1.3.22-SNAPSHOT" |
2 | 2 | :description "Cisco Threat Intelligence Model"
|
3 | 3 | :url "http://github.com/threatgrid/ctim"
|
4 | 4 | :license {:name "Eclipse Public License"
|
|
24 | 24 | :plugins [[lein-cljsbuild "1.1.7"]
|
25 | 25 | [com.google.guava/guava "20.0"] ;resolve internal conflict in `lein-doo`
|
26 | 26 | [lein-doo "0.1.11" :exclusions [org.clojure/clojure]]
|
| 27 | + ;;uncomment for lein-git-down |
27 | 28 | #_[reifyhealth/lein-git-down "0.3.5"]]
|
28 | 29 |
|
| 30 | + ;;uncomment for lein-git-down |
29 | 31 | ;:middleware [lein-git-down.plugin/inject-properties]
|
30 | 32 | ;:repositories [["public-github" {:url "git://github.com"}]
|
31 | 33 | ; ["private-github" {:url "git://github.com" :protocol :ssh}]]
|
32 | 34 |
|
33 |
| - |
| 35 | + :release-tasks [["clean"] |
| 36 | + ["doc"] |
| 37 | + ;; this command will fail if `lein doc` generates anything new |
| 38 | + ;; please commit it and try again |
| 39 | + ["vcs" "assert-committed"] |
| 40 | + ["change" "version" "leiningen.release/bump-version" "release"] |
| 41 | + ;; will fail if project.clj doesn't already have -SNAPSHOT version |
| 42 | + ["vcs" "commit"] |
| 43 | + ["vcs" "tag" "--no-sign"] |
| 44 | + ["deploy" "clojars"] |
| 45 | + ["change" "version" "leiningen.release/bump-version"] |
| 46 | + ["vcs" "commit"] |
| 47 | + ;; fails if no upstream branch is defined |
| 48 | + ;; if it fails at this point you can complete the release using: |
| 49 | + ;; git push --tags --set-upstream origin release-x.y.z |
| 50 | + ["vcs" "push"]] |
34 | 51 |
|
35 | 52 | :aliases {"doc" ^{:doc "Generate documentation"} ["run" "-m" "ctim.document"]
|
36 | 53 | "docs" ^{:doc "Generate documentation"} ["doc"]
|
|
0 commit comments