Add githubLatestTag function? #2266
-
Hello. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Makes sense. I've created #2267 to add the functionality. Note that the GitHub API does not provide an easy way to find the latest tag (you have to list all tags, and then inspect the date of each tag's commit) but when listing tags GitHub seems to return the latest tag first. |
Beta Was this translation helpful? Give feedback.
-
That was quick, awesome thanks.
El jue., 18 ago. 2022 14:26, Tom Payne ***@***.***> escribió:
… Makes sense. I've created #2267
<#2267> to add the functionality.
Note that the GitHub API does not provide an easy way to find the latest
tag (you have to list all tags, and then inspect the date of each tag's
commit) but when listing tags GitHub *seems* to return the latest tag
first.
—
Reply to this email directly, view it on GitHub
<#2266 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARKJWMP4QCK3E7U3GWKW7LVZYTV7ANCNFSM564VT25A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes, absolutely
On Fri, 2 Sep 2022 at 02:59, Tom Payne ***@***.***> wrote:
@danielo515 <https://github.com/danielo515> did the addition of the
gitHubLatestTag function
<https://www.chezmoi.io/reference/templates/github-functions/gitHubLatestTag/>
answer your question?
—
Reply to this email directly, view it on GitHub
<#2266 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARKJWO6FNSMVLBRGLDUQL3V4FGPDANCNFSM564VT25A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
---
https://danielorodriguez.com
|
Beta Was this translation helpful? Give feedback.
Makes sense. I've created #2267 to add the functionality.
Note that the GitHub API does not provide an easy way to find the latest tag (you have to list all tags, and then inspect the date of each tag's commit) but when listing tags GitHub seems to return the latest tag first.