|
1 | | -(def pdb-version "8.12.0-SNAPSHOT") |
2 | | - |
3 | 1 | (defn true-in-env? [x] |
4 | 2 | (#{"true" "yes" "1"} (System/getenv x))) |
5 | 3 |
|
|
101 | 99 | (def i18n-version "1.0.3") |
102 | 100 | (def jackson-version "2.21.0") |
103 | 101 | (def slf4j-version "2.0.17") |
104 | | -(defproject org.openvoxproject/puppetdb pdb-version |
| 102 | + |
| 103 | +;; If you modify the version manually, run release_scripts/sync_ezbake_dep.rb to keep |
| 104 | +;; the ezbake dependency in sync. |
| 105 | +(defproject org.openvoxproject/puppetdb "8.12.0-SNAPSHOT" |
105 | 106 | :description "OpenVox-integrated catalog and fact storage" |
106 | 107 |
|
107 | 108 | :license {:name "Apache License, Version 2.0" |
|
261 | 262 | :password :env/CLOJARS_PASSWORD |
262 | 263 | :sign-releases false}]] |
263 | 264 |
|
264 | | - :plugins [[lein-release "1.1.3" :exclusions [org.clojure/clojure]] |
265 | | - [lein-cloverage "1.2.4"] |
| 265 | + :plugins [[lein-cloverage "1.2.4"] |
| 266 | + [lein-shell "0.5.0"] |
266 | 267 | [org.openvoxproject/i18n ~i18n-version]] |
267 | 268 |
|
268 | 269 | :lein-release {:scm :git |
|
366 | 367 | ;; This circular dependency is required because of a bug in |
367 | 368 | ;; ezbake (EZ-35); without it, bootstrap.cfg will not be included |
368 | 369 | ;; in the final package. |
369 | | - [org.openvoxproject/puppetdb ~pdb-version]] |
| 370 | + ;; |
| 371 | + ;; Do not modify this line. It is managed by the release process |
| 372 | + ;; via the release_scripts/sync_ezbake_dep.rb script. |
| 373 | + [org.openvoxproject/puppetdb "8.12.0-SNAPSHOT"]] |
370 | 374 | :name "puppetdb" |
371 | 375 | :plugins [[org.openvoxproject/lein-ezbake ~(or (System/getenv "EZBAKE_VERSION") "2.7.3")]]} |
372 | 376 | :ezbake-fips {:dependencies ^:replace [[org.bouncycastle/bcpkix-fips] |
373 | 377 | [org.bouncycastle/bc-fips] |
374 | 378 | [org.bouncycastle/bctls-fips] |
375 | 379 | [org.clojure/clojure] |
376 | | - [org.openvoxproject/puppetdb ~pdb-version]] |
| 380 | + ;; Do not modify this line. It is managed by the release process |
| 381 | + ;; via the release_scripts/sync_ezbake_dep.rb script. |
| 382 | + [org.openvoxproject/puppetdb "8.12.0-SNAPSHOT"]] |
377 | 383 | :name "puppetdb" |
378 | 384 | :uberjar-exclusions [#"^org/bouncycastle/.*"] |
379 | 385 | :plugins [[org.openvoxproject/lein-ezbake ~(or (System/getenv "EZBAKE_VERSION") "2.7.3")]]} |
|
410 | 416 | (if (map? prev) [new prev] (conj prev new))) |
411 | 417 | #(spit %1 (pr-str %2))]} |
412 | 418 |
|
| 419 | + ;; We define our own release tasks here, rather than the default that 'lein release' does, |
| 420 | + ;; so that we can keep the necessary org.openvoxproject/puppetdb ezbake dependency in sync. |
| 421 | + ;; This also makes it always bump the minor version rather than patch, since we rarely end up |
| 422 | + ;; releasing patch versions. |
| 423 | + :release-tasks [["vcs" "assert-committed"] |
| 424 | + ["change" "version" "leiningen.release/bump-version" "release"] |
| 425 | + ["shell" "ruby" "release_scripts/sync_ezbake_dep.rb"] |
| 426 | + ["vcs" "commit"] |
| 427 | + ["vcs" "tag"] |
| 428 | + ["deploy"] |
| 429 | + ["change" "version" "leiningen.release/bump-version" ":minor"] |
| 430 | + ["shell" "ruby" "release_scripts/sync_ezbake_dep.rb"] |
| 431 | + ["vcs" "commit"] |
| 432 | + ["vcs" "push"]] |
| 433 | + |
| 434 | + |
413 | 435 |
|
414 | 436 | :eastwood {:config-files ["eastwood.clj"] |
415 | 437 | ;; local-shadows-var is too distruptive, particularly |
|
0 commit comments