Is there some way to access the version of a resource? #5452
Answered
by
ZhongRuoyu
helpermethod
asked this question in
Writing Formulae/Casks
-
Output of
|
Beta Was this translation helpful? Give feedback.
Answered by
ZhongRuoyu
Jun 22, 2024
Replies: 1 comment 1 reply
-
Yes, the version of a resource can also be deduced from the URL. See odie "clang resource needs to be updated" if build.stable? && version != resource("clang").version |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
helpermethod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the version of a resource can also be deduced from the URL. See
clang-format.rb
for example, where we have: