mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 13:05:49 +00:00
Better uploader
This commit is contained in:
parent
1bf13bd4ff
commit
7461b2efcd
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue