Skip to content

Commit

Permalink
Extract git ref from the version for github projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Nov 19, 2024
1 parent ddd87c5 commit 6075636
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/source/github.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
:tag tag
:project-name project-name))))

(defmethod defrost-source :after ((source source-github))
(when (slot-boundp source 'qlot/source/base::version)
(setf (source-github-ref source)
(subseq (source-version source)
(length (source-version-prefix source))))))

(defmethod source-identifier ((source source-github))
(source-github-repos source))

Expand Down

0 comments on commit 6075636

Please sign in to comment.