mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 14:18:17 +01:00
11 lines
346 B
Bash
Executable File
11 lines
346 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# get all the folder names inside src/data/roadmaps
|
|
roadmap_ids=$(ls src/data/roadmaps)
|
|
|
|
# create a label for each roadmap name on github issues using gh cli
|
|
for roadmap_id in $roadmap_ids
|
|
do
|
|
random_color=$(openssl rand -hex 3)
|
|
gh label create "$roadmap_id" --color $random_color --description "Roadmap: $roadmap_id"
|
|
done |