mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
use b2 upload-file instead of b2 sync
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
bucket=$1
|
||||
platform=$2
|
||||
artifact=$2
|
||||
|
||||
now=$(date +'%Y-%m-%d')
|
||||
filename="odin-$platform-nightly+$now.zip"
|
||||
|
||||
7z a "output/$filename" -r "$artifact"
|
||||
b2 upload-file "$bucket" "$filename" "$filename"
|
||||
Reference in New Issue
Block a user