feat: Add repository host Codeberg (#2202)

This commit is contained in:
Remo Senekowitsch 2025-06-20 13:37:49 +02:00 committed by GitHub
parent 4628235403
commit a90dd4569f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 2 deletions

View file

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