Skip to content

Commit

Permalink
Force lowercase slugs for project relations
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed Nov 4, 2022
1 parent 1b6c060 commit 345bfa9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -954,16 +954,16 @@ if [ -f "$pkgmeta_file" ]; then
yaml_listitem "$yaml_line"
case $pkgmeta_phase in
tools-used)
relations["$yaml_item"]="tool"
relations["${yaml_item,,}"]="tool"
;;
required-dependencies)
relations["$yaml_item"]="requiredDependency"
relations["${yaml_item,,}"]="requiredDependency"
;;
optional-dependencies)
relations["$yaml_item"]="optionalDependency"
relations["${yaml_item,,}"]="optionalDependency"
;;
embedded-libraries)
relations["$yaml_item"]="embeddedLibrary"
relations["${yaml_item,,}"]="embeddedLibrary"
;;
esac
;;
Expand Down Expand Up @@ -1985,7 +1985,7 @@ process_external() {
fi

if [ -n "$external_slug" ]; then
relations["$external_slug"]="embeddedLibrary"
relations["${external_slug,,}"]="embeddedLibrary"
fi

echo "Fetching external: $external_dir"
Expand Down

0 comments on commit 345bfa9

Please sign in to comment.