mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
describe executable file name convention contained in assets
This commit is contained in:
parent
051f309b75
commit
04c8f18cca
1 changed files with 9 additions and 3 deletions
12
README.md
12
README.md
|
@ -254,11 +254,17 @@ For example, if your command name is `foo-bar`, one of followings is expected to
|
||||||
page on GitHub as binary for platform `linux` and arch `amd64`.
|
page on GitHub as binary for platform `linux` and arch `amd64`.
|
||||||
|
|
||||||
- `foo-bar_linux_amd64` (executable)
|
- `foo-bar_linux_amd64` (executable)
|
||||||
- `foo-bar_linux_amd64.zip` (zip file containing `foo-bar`)
|
- `foo-bar_linux_amd64.zip` (zip file)
|
||||||
- `foo-bar_linux_amd64.tar.gz` (tar file containing `foo-bar`)
|
- `foo-bar_linux_amd64.tar.gz` (tar file)
|
||||||
- `foo-bar_linux_amd64.xz` (xzip file of the executable `foo-bar`)
|
- `foo-bar_linux_amd64.xz` (xzip file)
|
||||||
- `foo-bar-linux-amd64.tar.gz` (`-` is also ok for separator)
|
- `foo-bar-linux-amd64.tar.gz` (`-` is also ok for separator)
|
||||||
|
|
||||||
|
If you compress and/or archive your release asset, it must contain an executable named one of followings:
|
||||||
|
|
||||||
|
- `foo-bar` (only command name)
|
||||||
|
- `foo-bar_linux_amd64` (full name)
|
||||||
|
- `foo-bar-linux-amd64` (`-` is also ok for separator)
|
||||||
|
|
||||||
To archive the executable directly on Windows, `.exe` can be added before file extension like
|
To archive the executable directly on Windows, `.exe` can be added before file extension like
|
||||||
`foo-bar_windows_amd64.exe.zip`.
|
`foo-bar_windows_amd64.exe.zip`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue