From 7461b2efcd6c14b399eb2a6ae9cd63d31c7dd8a3 Mon Sep 17 00:00:00 2001 From: Vladimir Borisov Date: Thu, 5 Feb 2026 13:48:58 +0200 Subject: [PATCH] Better uploader --- upload.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/upload.ps1 b/upload.ps1 index 3c0f842..70d870a 100644 --- a/upload.ps1 +++ b/upload.ps1 @@ -1,3 +1,8 @@ $tag = $(git describe --abbrev=0) -aws s3 cp --acl public-read ".\StremioSetup-v$((get-item .\StremioSetup*.exe).VersionInfo.ProductVersion.Trim()).exe" s3://stremio-artifacts/stremio-shell-ng/$tag/ + +foreach ($installer in (get-item .\StremioSetup*.exe)) { + if ($tag.StartsWith("v$($installer.VersionInfo.ProductVersion.Trim())")) { + aws s3 cp --acl public-read "$installer" s3://stremio-artifacts/stremio-shell-ng/$tag/ + } +} node ./generate_descriptor.js --tag=$tag