mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-19 05:30:43 +00:00
add check for "snapshot-BRANCH_SLUG" arg to update-all-qqq-deps.sh -- if given, then we look for branchy versions, else we use main versions [skip ci]
This commit is contained in:
@ -13,9 +13,14 @@ fi
|
||||
CURRENT_VERSION="$(cat $QQQ_DEV_TOOLS_DIR/CURRENT-SNAPSHOT-VERSION)"
|
||||
MODULE_LIST_FILE=$QQQ_DEV_TOOLS_DIR/MODULE_LIST
|
||||
|
||||
getLatestSnapshotArg="-l"
|
||||
if [[ "$1" == "snapshot-BRANCH_SLUG" ]]; then
|
||||
getLatestSnapshotArg="-s"
|
||||
fi
|
||||
|
||||
for module in $(cat $MODULE_LIST_FILE); do
|
||||
echo "Updating $module..."
|
||||
version=$(get-latest-snapshot.sh $module -l)
|
||||
version=$(get-latest-snapshot.sh $module $getLatestSnapshotArg)
|
||||
update-dep.sh $module $version -q
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user