10 lines
332 B
Bash
Executable File
10 lines
332 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cdk_version=$1
|
|
|
|
cdk_paths_unfiltered=$(jf rt search --recursive=false "cpqd-snapshot/br/com/cpqd/**/$cdk_version/" | jq -r '.[].path')
|
|
cdk_paths=$(for p in ${cdk_paths_unfiltered[@]}; do dirname $p; done | uniq)
|
|
|
|
# needs pwd to be in PATH
|
|
for p in ${cdk_paths[@]}; do artifactory-rebuild-maven-metadata-xml.sh $p; done
|