mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-23 02:56:37 +00:00
feat: Add repository host Codeberg (#2202)
This commit is contained in:
parent
4628235403
commit
a90dd4569f
4 changed files with 19 additions and 2 deletions
|
@ -82,8 +82,8 @@ on windows and empty on other platforms).
|
|||
|
||||
The default value for `pkg-url` will depend on the repository of the package.
|
||||
|
||||
It is set up to work with GitHub releases, GitLab releases, bitbucket downloads
|
||||
and source forge downloads.
|
||||
It is set up to work with GitHub releases, GitLab releases, bitbucket downloads,
|
||||
source forge downloads and Codeberg releases.
|
||||
|
||||
If your package already uses any of these URLs, you shouldn't need to set anything.
|
||||
|
||||
|
@ -139,6 +139,11 @@ The URLs also have `/download` appended as per SourceForge's schema.
|
|||
Binary must be uploaded to the "File" page of your project, under the directory
|
||||
`binaries/v{ version }`.
|
||||
|
||||
#### for Codeberg
|
||||
|
||||
- `{ repo }/releases/download/{ version }/`
|
||||
- `{ repo }/releases/download/v{ version }/`
|
||||
|
||||
#### Others
|
||||
|
||||
For all other situations, `binstall` does not provide a default `pkg-url` and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue