dump (419B)
1 #!/usr/bin/env bash 2 3 set -eou pipefail 4 5 mkdir -p exported 6 7 projects=(android notedeck nostrdb nostrdb-rs strfry-push-notify notecrumbs api damus) 8 for project in "${projects[@]}" 9 do 10 11 echo "exporting '$project' issues and comments..." 12 node src/index.js -t $GITHUB_TOKEN -o damus-io -r $project -c -e 13 echo "done exporting 'exported/$project.json'" 14 15 jq . "$project".json > exported/"$project".json 16 rm "$project".json 17 18 done