Support a custom upload command
All checks were successful
Build / audit (push) Successful in 13m47s
Build / test (push) Successful in 14m16s

This commit is contained in:
2024-05-11 19:01:41 +02:00
parent 6ba319c3b6
commit f8ef93fde7
4 changed files with 27 additions and 24 deletions

View File

@ -19,13 +19,13 @@ branch = "user/nick/updates"
# be configured consistently with the remote_path.
download_url = "https://example.com/some/path"
# If a package updater generates a source tarball, the tarball is uploaded to
# a remote destination with scp. remote_path specifies the remote server and
# a local path on the server where the source tarballs are hosted. When
# uploading the remote_path is followed by the package name and source file
# name. To specify a public URL where the sources can be downloaded, see
# download_url.
remote_path = "example.com:/srv/httpd/some/path"
# If a package updater generates a source tarball, the tarball is uploaded with
# a command given in this parameter. The parameter is a array where the first
# element is the command with the following elements being the command
# arguments. The command supports 2 placeholders:
# %s - Path to the source archive.
# %c - Package category.
upload_command = ["scp", "%s", "example.com:/srv/httpd/some/path/%c"]
## Maintainer specific options
[maintainer]