Upload assets for releases
Pecans uses GitHub Releases and assets to serve the right file to the right user.
See GitHub guides: About Releases & Creating Releases.
Naming
Pecans uses some filename/extension conventions to serve the correct asset to a specific request:
The platform/OS will be detected from the filename:
Windows: filename should contain
win
Mac/OS X: filename should contain
mac
orosx
Linux: filename should contain
linux
By default releases are tagged as 32-bits (except for OSX), but 64-bits will also be detected from filenames.
Filetype and usage will be detected from the extension:
Platform
Extensions (sorted by priority)
Windows
.exe
, .nupkg
, .zip
OS X
.dmg
, .zip
Linux
.deb
, .rpm
, .zip
Example
Here is a list of files in one of the latest release of our GitBook Editor:
Last updated