Add ExtractViaBasepullQueryStep; add pagination & piping to api query

This commit is contained in:
2022-10-26 12:24:35 -05:00
parent 77927fd318
commit 82810c2b66
18 changed files with 689 additions and 54 deletions

View File

@ -8,6 +8,11 @@
dep=$1
version=$2
verbose=1
if [ "$3" == "-q" ]; then
verbose=0;
fi
if [ -z "$dep" -o -z "$version" ]; then
echo "What dependency?"
@ -38,7 +43,12 @@ if [ $lineNo -lt $dependenciesTagLineNo ]; then
exit 0;
fi
echo "Going to update version of $dep at line $lineNo"
if [ "$verbose" == "1" ]; then
echo "Going to update version of $dep at line $lineNo"
fi
gsed -i "${lineNo}s/<version>.*</<version>$version</" pom.xml
git diff pom.xml
if [ "$verbose" == "1" ]; then
git diff pom.xml
fi