Note preference for versioned URLs in CONTRIBUTING.md
This commit is contained in:
parent
e5733f1701
commit
e0f7801db3
|
@ -64,7 +64,7 @@ cask :v1 => 'unity' do
|
|||
end
|
||||
```
|
||||
|
||||
And here is one for `Firefox.app`. Note that it has an unversioned download (the download `url` does not contain the version number, unlike the example above). It also suppresses the checksum with `sha256 :no_check` (necessary since the checksum will change when a new distribution is made available). This combination of `version :latest` and `sha256 :no_check` is currently the preferred mechanism when an unversioned download URL is available:
|
||||
And here is one for `Firefox.app`. Note that it has an unversioned download (the download `url` does not contain the version number, unlike the example above). It also suppresses the checksum with `sha256 :no_check` (necessary since the checksum will change when a new distribution is made available). This combination of `version :latest` and `sha256 :no_check` is currently the preferred mechanism when a versioned download URL is not available:
|
||||
|
||||
```ruby
|
||||
cask :v1 => 'firefox' do
|
||||
|
|
Loading…
Reference in New Issue