0g-chain/.github/scripts/publish-internal-release-artifacts.sh
Levi Schoen 3a766030a3
github action for ci (#1398)
* add workflow for CI on PRs to master or release branch, and every push to master

* sprint demo
2022-11-29 15:22:48 -05:00

15 lines
296 B
Bash
Executable File

#!/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