From 740a309b8568f498739b98b44162dc6423a2fb84 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Thu, 3 Feb 2022 10:57:58 +0100 Subject: [PATCH] feat(publish): set aptly Origin + Label --- scripts/sync-and-publish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/sync-and-publish b/scripts/sync-and-publish index 46a4c90..8c697af 100755 --- a/scripts/sync-and-publish +++ b/scripts/sync-and-publish @@ -4,6 +4,8 @@ set -xeuo pipefail release=$1 opt=${2:-false} nightly=false +origin="Mattermost" +label="Mattermost Omnibus" if [[ "${release}" != "bionic" && "${release}" != "focal" ]]; then printf "ERROR: unsupported release %q\n" "${release}" >&2 @@ -34,4 +36,4 @@ else fi aptly snapshot create ${release}-snapshot from repo ${release}-repo cp scripts/aptly.conf $HOME/.aptly.conf -aptly publish snapshot -batch -force-overwrite -gpg-key="${GPG_KEY_ID}" ${release}-snapshot "s3:remote:" +aptly publish snapshot -batch -force-overwrite -gpg-key="${GPG_KEY_ID}" -origin="${origin}" -label="${label}" ${release}-snapshot "s3:remote:"