mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-17 20:50:44 +00:00
Add ExtractViaBasepullQueryStep; add pagination & piping to api query
This commit is contained in:
@ -9,5 +9,9 @@ CURRENT_VERSION="$(cat $QQQ_DEV_TOOLS_DIR/CURRENT-SNAPSHOT-VERSION)"
|
||||
MODULE_LIST_FILE=$QQQ_DEV_TOOLS_DIR/MODULE_LIST
|
||||
|
||||
for artifact in $(cat $MODULE_LIST_FILE); do
|
||||
update-dep.sh $artifact ${CURRENT_VERSION}-SNAPSHOT
|
||||
update-dep.sh $artifact ${CURRENT_VERSION}-SNAPSHOT -q
|
||||
done
|
||||
|
||||
echo
|
||||
echo git diff pom.xml
|
||||
git diff pom.xml
|
||||
|
@ -9,6 +9,14 @@ CURRENT_VERSION="$(cat $QQQ_DEV_TOOLS_DIR/CURRENT-SNAPSHOT-VERSION)"
|
||||
MODULE_LIST_FILE=$QQQ_DEV_TOOLS_DIR/MODULE_LIST
|
||||
|
||||
for module in $(cat $MODULE_LIST_FILE); do
|
||||
echo "Updating $module..."
|
||||
version=$(get-latest-snapshot.sh $module $CURRENT_VERSION)
|
||||
update-dep.sh $module $version
|
||||
update-dep.sh $module $version -q
|
||||
done
|
||||
|
||||
echo
|
||||
echo git diff pom.xml
|
||||
git diff pom.xml
|
||||
newVersion=$(grep -A1 qqq-backend-core pom.xml | tail -1 | sed 's/.*<version>//;s/<\/version>.*//;s/-........\......./ snapshot/')
|
||||
echo "You might want to commit that with:"
|
||||
echo " git commit -m \"Updated qqq deps to $newVersion\" pom.xml"
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user