Note preference for versioned URLs in CONTRIBUTING.md

This commit is contained in:
Josh Hagins 2015-10-15 11:57:10 -04:00
parent e5733f1701
commit e0f7801db3
1 changed files with 1 additions and 1 deletions

View File

@ -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