Refactor scripts names and location

This commit is contained in:
Matheus Albino Brunhara
2024-02-22 14:09:23 -03:00
parent 186be867c5
commit 160476e536
9 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
cdk_version=$1
cdk_paths_unfiltered=$(jf rt search --recursive=false 'cpqd-snapshot/br/com/cpqd/**/13.30.132-SNAPSHOT/' | 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