File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
src/main/clojure/clojure/tools Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
===========
3
3
4
+ * next
5
+ * ` tags ` api should fetch to ensure all tags are returned
4
6
* 2.2.152 on Apr 3, 2021
5
7
* Fix issue with fetching new commits on branches
6
8
* 2.1.144 on Mar 12, 2021
Original file line number Diff line number Diff line change 74
74
(->> shas (sort (partial impl/commit-comparator git-dir)) first))))))
75
75
76
76
(defn tags
77
- " Returns coll of tags in git url"
77
+ " Fetches, then returns coll of tags in git url"
78
78
[url]
79
79
(impl/tags (impl/ensure-git-dir url)))
80
80
Original file line number Diff line number Diff line change 141
141
(throw (IOException. (str " Prefix not unique: " prefix))))))))
142
142
143
143
(defn tags
144
+ " Fetch, then return all tags in the git dir. "
144
145
[git-dir]
146
+ (git-fetch (jio/file git-dir))
145
147
(let [{:keys [exit out err] :as ret} (run-git " --git-dir" git-dir " tag" )]
146
148
(when-not (zero? exit)
147
149
(throw (ex-info (format " Unable to get tags %s%n%s" git-dir err) ret)))
You can’t perform that action at this time.
0 commit comments