set-all.sh 489 B

12345678910111213141516
  1. set -e
  2. dir=$(dirname $0)
  3. max=12
  4. # Prepare
  5. # 1. Update `max` when files were added
  6. # 2. `chmod +x ~/community-repo/working-groups-distributors/bucketFamilies/olympia/set-all.sh`
  7. # 3. Set lead key in joystream/distributor-node/config.yml
  8. # Run
  9. # 1. `cd joystream/distributor-node`
  10. # 3. `~/community-repo/working-groups-distributors/bucketFamilies/olympia/set-all.sh`
  11. for f in $(seq 0 $max) ; do
  12. yarn joystream-distributor leader:set-bucket-family-metadata -f $f -i $dir/$f.json -y
  13. done