File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,12 @@ get_changelog_url() {
1818# Gets all the new changelogs from the updated components version.
1919get_changelog_urls () {
2020 while IFS= read -r updated_version; do
21- read -r component version <<< " ${updated_version}"
21+ # Skip any empty lines
22+ [[ -z " $updated_version " ]] && continue
23+
24+ # Split into component and version
25+ read -r component version <<< " $updated_version"
26+
2227 case " ${component} " in
2328 alertmanager)
2429 get_changelog_url " prometheus/alertmanager" " ${version} "
@@ -50,6 +55,9 @@ get_changelog_urls() {
5055 configmapReload)
5156 get_changelog_url " jimmidyson/configmap-reload" " ${version} "
5257 ;;
58+ pyrra)
59+ get_changelog_url " pyrra-dev/pyrra" " ${version} "
60+ ;;
5361 * )
5462 echo " Unknown component ${component} updated"
5563 exit 1
You can’t perform that action at this time.
0 commit comments