Support a custom upload command
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user