. "$(dirname $0)/common.sh"
# Don't do releases in the wee hours :-)
-h=$(date '+%H')
+h=$(date '+%k')
(( "$h" < 10 && "$h" > 4 )) && {
echo "Go back to bed" 1>&2
exit 1
eval $(gpg-agent --daemon --enable-ssh-support)
ssh-add ~/.ssh/ra.kernel.org
+if ! ssh git@gitolite.kernel.org 2fa isval; then
+ read -r -p "Yubikey token: " tok
+ ssh git@gitolite.kernel.org 2fa val $tok
+fi
+
# This means I get the right tag if I finish after midnight
d=$(date --date "5 hours ago" '+%Y%m%d')
l="$(git describe --match "v*" --abbrev=0)"