File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
packages/kmono-git/src/k16/kmono/git Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22 [com.kepler16/kmono
33 com.kepler16/kmono-core
44 com.kepler16/kmono-build
5+ com.kepler16/kmono-git
56 com.kepler16/kmono-version]}
Original file line number Diff line number Diff line change 6767 :message (or message " " )
6868 :body (str/trim body)}))
6969
70- (defn find-commits-since [^String repo {:keys [ref subdir]}]
70+ (defn find-commits-since
71+ " Find all commits since a given `ref` (or all, if excluded) and optionally
72+ filter by the commits which affect the provided `subdir`."
73+ [^String repo {:keys [ref subdir]}]
7174 (git/with-open-repo repo
7275 (fn with-open-repo [git repo]
7376 (let [log (Git/.log git)]
Original file line number Diff line number Diff line change 2020
2121(defn get-sorted-tags
2222 " Returns all tags that are present in the current or any ancestor of the
23- given `sha `.
23+ given `rev `.
2424
2525 The returned tags are sorted by commit date (descending, most recent commit
2626 first)"
7171
7272(defn create-tags
7373 " Create a set of `tags` in the git repo found at `repo-root` that point to
74- the specified `ref` (default: HEAD)."
74+ the specified `ref` (default: HEAD).
75+
76+ This will create annotated tags unless `annotated` is set to `false`."
7577 {:malli/schema [:-> :string [:map
7678 [:ref {:optional true } :string ]
7779 [:annotated {:optional true
You can’t perform that action at this time.
0 commit comments