We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a7cc59 commit 377dff9Copy full SHA for 377dff9
bb/tasks.clj
@@ -40,6 +40,12 @@
40
(str "{io.github.nextjournal/clerk {:mvn/version " (pr-str (shared/version)) "}}"))
41
(spit "README.md")))
42
43
+(defn update-book []
44
+ (->> (str/replace (slurp "book.clj")
45
+ (re-pattern "\\{io.github.nextjournal/clerk \\{:mvn/version \".+\"\\}\\}")
46
+ (str "{io.github.nextjournal/clerk {:mvn/version " (pr-str (shared/version)) "}}"))
47
+ (spit "book.clj")))
48
+
49
(defn tag []
50
(let [tag (str "v" (shared/version))]
51
(shell "git tag" tag)))
@@ -48,6 +54,7 @@
54
(update-meta)
55
(update-changelog)
56
(update-readme)
57
+ (update-book)
58
(shell "git add"
52
59
"resources/META-INF"
53
60
"README.md"
0 commit comments