mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
15 lines
296 B
Bash
15 lines
296 B
Bash
|
#!/bin/bash
|
||
|
set -x
|
||
|
|
||
|
archs=(amd64)
|
||
|
dbs=(goleveldb rocksdb)
|
||
|
OS=linux
|
||
|
|
||
|
for db in "${dbs[@]}"
|
||
|
do
|
||
|
for arch in "${archs[@]}"
|
||
|
do
|
||
|
env GOOS=$OS GOARCH="$arch" make build COSMOS_BUILD_OPTIONS="$db" && aws s3 cp ./out/$OS/kava s3://releases.kava.io/kava/$OS/"$db"/"$BUILD_TAG"
|
||
|
done
|
||
|
done
|