File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 60
60
tag-lines (split (run-git git-ssh path " for-each-ref" " --format='%(refname:short)|-|%(objectname)|-|%(authorname)|-|%(contents:subject)'" " refs/tags" ) #"\n " )
61
61
lines (map (fn [line]
62
62
(-> line
63
- (string/replace #"^(')(.*)(')$" " $2" ) ; ; delete start and end quotes ' ;; delete ?origin/"
64
- (string/replace #"^([^/]*)/(.*)$" " $2" )))
63
+ (string/replace #"^(')(.*)(')$" " $2" ) ; ; delete start and end quotes '
64
+ ; ; delete ?origin/"
65
+ (string/replace #"^(origin|tags)/" " " )))
65
66
(sort (distinct (concat branch-lines tag-lines))))
67
+ _ (prn :lines lines)
66
68
filtered-lines (filter (fn [s] (and (some? s)
67
69
(seq s)
68
70
(not (string/starts-with? s " HEAD" )))) lines)
Original file line number Diff line number Diff line change 14
14
(defn links [request]
15
15
(let [version (-> request :params :version )
16
16
version (if (or (= version " latest" )
17
- (= version " Release Candidate" )
18
- (= version " rc" ))
17
+ (= version " Release Candidate" )
18
+ (= version " rc" ))
19
19
(versions-data/default (jdbc request))
20
20
version)
21
21
You can’t perform that action at this time.
0 commit comments