From 9217f6843a1c754bc7914afc229030fbc5afad97 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 17 Sep 2021 13:54:45 +0200 Subject: [PATCH] Update updater.sh --- .github/workflows/updater.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 506276a..27acff7 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -63,16 +63,16 @@ echo "Handling asset at $asset_url" # Here we base the source file name upon a unique keyword in the assets url (admin vs. update) # Leave $src empty to ignore the asset case $asset_url in - *".tar.gz"*) + *"mattermost-v"$version"-linux-arm.tar.gz"*) src="arm" ;; - *".tar.gz"*) + *"mattermost-v"$version"-linux-arm64.tar.gz"*) src="arm64" ;; - *".tar.gz"*) + *"mattermost-v"$version"-linux-amd64.tar.gz"*) src="x86-64" ;; - *".tar.gz"*) + *"mattermost-enterprise-"$version"-linux-amd64.tar.gz"*) src="entreprise" ;; esac