use b2 upload-file instead of b2 sync
This commit is contained in:
1 parent
f229084baa
commit
5002b71670
2 files changed
+28
-11
No files matched your search
@@ -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