File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ set -euo pipefail
44
55function first_artifact_id() {
66 local bom_file=" $1 "
7- grep ' <artifactId>' " $bom_file " | head -n 2 | tail -n 1 | sed ' s/.*<artifactId>\(.*\)<\/artifactId>.*/\1/'
7+ grep ' <artifactId>' " $bom_file " | head -n 2 | tail -n 1 |
8+ sed ' s/.*<artifactId>\(.*\)<\/artifactId>.*/\1/'
89}
910
1011function add_dir() {
@@ -53,7 +54,8 @@ for dir in prometheus-metrics-tracer/prometheus-metrics*; do
5354done
5455
5556want=$( echo " $want " | sort | uniq)
56- have=" $( grep ' <artifactId>prometheus-metrics' prometheus-metrics-bom/pom.xml | sed ' s/.*<artifactId>\(.*\)<\/artifactId>.*/\1/' | sort) "
57+ have=" $( grep ' <artifactId>prometheus-metrics' prometheus-metrics-bom/pom.xml |
58+ sed ' s/.*<artifactId>\(.*\)<\/artifactId>.*/\1/' | sort) "
5759
5860if [[ " $want " != " $have " ]]; then
5961 echo " The BOM file prometheus-metrics-bom/bom.xml does not match the current directory contents."
You can’t perform that action at this time.
0 commit comments