Skip to content

Is there some way to access the version of a resource? #5452

Discussion options

You must be logged in to vote

Yes, the version of a resource can also be deduced from the URL. See clang-format.rb for example, where we have:

odie "clang resource needs to be updated" if build.stable? && version != resource("clang").version

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@helpermethod
Comment options

Answer selected by helpermethod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants