We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cd058c commit e2d43c7Copy full SHA for e2d43c7
1 file changed
.docker/prepare-switch-scroll.sh
@@ -3,9 +3,11 @@ CURRENT_SCROLL=$(cat $SCROLL_DIR/scroll.yaml | yq .name)
3
4
echo "Current scroll: $CURRENT_SCROLL"
5
6
-if [ "$CURRENT_SCROLL" != "$SCROLL" ]; then
7
- druid run switch-scroll $SCROLL
+DESIRED_SCROLL="$SCROLL@$SCROLL_VERSION"
+
8
+if [ "$CURRENT_SCROLL" != "$DESIRED_SCROLL" ]; then
9
+ druid run switch-scroll $DESIRED_SCROLL
10
rm $SCROLL_DIR/scroll-lock.json
11
else
- echo "Already on $SCROLL. Nothing to do."
12
+ echo "Already on $CURRENT_SCROLL. Nothing to do."
13
fi
0 commit comments