fix(plugin): correct condition for github release zip

pull/2834/head
charlie 2021-09-16 10:53:42 +08:00 committed by Tienson Qin
parent 9468523634
commit 1a94972718
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
_ (js/console.debug "[Release Latest] " endpoint)
res (bean/->clj res)
version (:tag_name res)
asset (first (filter #(= "application/zip" (:content_type %)) (:assets res)))]
asset (first (filter #(string/ends-with? (:name %) ".zip") (:assets res)))]
[(if (and (nil? asset) theme)
(if-let [zipball (:zipball_url res)]