publish_distro add --now to set PUBLISH_DELAY=0

* we have to set it to 0 avery single time
  when we're doing some debuging on pontifex
  and such approach leaves dirty checkout
This commit is contained in:
Lubos Kocman 2022-11-29 14:46:32 +01:00
parent 8ed5c06c44
commit 7edf9254dc

View File

@ -70,6 +70,10 @@ for arg do
do_cleanup=1
date="90 days ago"
continue
elif [ "$arg" == '--now' ]; then
PUBLISH_DELAY=0
shift
continue
else
newargs+=("$arg")
fi