diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-05-11 19:01:41 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-05-11 19:01:41 +0200 |
| commit | f8ef93fde7dd5e9da499514c4ba6b782e5ec35b2 (patch) | |
| tree | eeabd8170479e53f445c09abd5b3ff7d13cf108f /config | |
| parent | 6ba319c3b6f4d9fdffca677288563360c3126e73 (diff) | |
| download | slackbuilder-f8ef93fde7dd5e9da499514c4ba6b782e5ec35b2.tar.gz | |
Support a custom upload command
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.toml.example | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config/config.toml.example b/config/config.toml.example index 2c9b4d4..476c71c 100644 --- a/config/config.toml.example +++ b/config/config.toml.example @@ -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] |
