mirror of
https://github.com/metosin/reitit.git
synced 2025-12-21 18:11:12 +00:00
Replace the version in place
This commit is contained in:
parent
c3820239c5
commit
2ae8fd27a8
6 changed files with 12 additions and 21 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
(def VERSION "0.1.0-SNAPSHOT")
|
(defproject metosin/reitit-core "0.1.0-SNAPSHOT"
|
||||||
|
|
||||||
(defproject metosin/reitit-core VERSION
|
|
||||||
:description "Snappy data-driven router for Clojure(Script)"
|
:description "Snappy data-driven router for Clojure(Script)"
|
||||||
:url "https://github.com/metosin/reitit"
|
:url "https://github.com/metosin/reitit"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
(def VERSION "0.1.0-SNAPSHOT")
|
(defproject metosin/reitit-ring "0.1.0-SNAPSHOT"
|
||||||
|
|
||||||
(defproject metosin/reitit-ring VERSION
|
|
||||||
:description "Reitit: Ring routing"
|
:description "Reitit: Ring routing"
|
||||||
:url "https://github.com/metosin/reitit"
|
:url "https://github.com/metosin/reitit"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
(def VERSION "0.1.0-SNAPSHOT")
|
(defproject metosin/reitit-spec "0.1.0-SNAPSHOT"
|
||||||
|
|
||||||
(defproject metosin/reitit-spec VERSION
|
|
||||||
:description "Reitit: clojure.spec coercion"
|
:description "Reitit: clojure.spec coercion"
|
||||||
:url "https://github.com/metosin/reitit"
|
:url "https://github.com/metosin/reitit"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
(def VERSION "0.1.0-SNAPSHOT")
|
(defproject metosin/reitit "0.1.0-SNAPSHOT"
|
||||||
|
|
||||||
(defproject metosin/reitit VERSION
|
|
||||||
:description "Snappy data-driven router for Clojure(Script)"
|
:description "Snappy data-driven router for Clojure(Script)"
|
||||||
:url "https://github.com/metosin/reitit"
|
:url "https://github.com/metosin/reitit"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
|
|
|
||||||
12
project.clj
12
project.clj
|
|
@ -1,6 +1,4 @@
|
||||||
(def VERSION "0.1.0-SNAPSHOT")
|
(defproject metosin/reitit-parent "0.1.0-SNAPSHOT"
|
||||||
|
|
||||||
(defproject metosin/reitit-parent VERSION
|
|
||||||
:description "Snappy data-driven router for Clojure(Script)"
|
:description "Snappy data-driven router for Clojure(Script)"
|
||||||
:url "https://github.com/metosin/reitit"
|
:url "https://github.com/metosin/reitit"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
|
|
@ -11,10 +9,10 @@
|
||||||
:source-uri "https://github.com/metosin/reitit/{version}/{filepath}#L{line}"
|
:source-uri "https://github.com/metosin/reitit/{version}/{filepath}#L{line}"
|
||||||
:metadata {:doc/format :markdown}}
|
:metadata {:doc/format :markdown}}
|
||||||
|
|
||||||
:managed-dependencies [[metosin/reitit ~VERSION]
|
:managed-dependencies [[metosin/reitit "0.1.0-SNAPSHOT"]
|
||||||
[metosin/reitit-core ~VERSION]
|
[metosin/reitit-core "0.1.0-SNAPSHOT"]
|
||||||
[metosin/reitit-ring ~VERSION]
|
[metosin/reitit-ring "0.1.0-SNAPSHOT"]
|
||||||
[metosin/reitit-spec ~VERSION]
|
[metosin/reitit-spec "0.1.0-SNAPSHOT"]
|
||||||
|
|
||||||
[meta-merge "1.0.0"]
|
[meta-merge "1.0.0"]
|
||||||
[metosin/spec-tools "0.5.0"]]
|
[metosin/spec-tools "0.5.0"]]
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
ext="sedbak$$"
|
ext="sedbak$$"
|
||||||
|
|
||||||
find . -name project.clj -exec sed -i.$ext "s/(def VERSION \".*\")/(def VERSION \"$1\")/g" '{}' \;
|
find . -name project.clj -exec sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" '{}' \;
|
||||||
|
find . -name project.clj -exec sed -i.$ext "s/defproject metosin\/reitit\(.*\) \".*\"/defproject metosin\/reitit\1 \"$1\"/g" '{}' \;
|
||||||
find . -name "*.$ext" -exec rm '{}' \;
|
find . -name "*.$ext" -exec rm '{}' \;
|
||||||
Loading…
Reference in a new issue