diff --git a/scripts/admin/publish-meteor-tool-on-arch.sh b/scripts/admin/publish-meteor-tool-on-arch.sh index 688ba49647..b0afb37658 100755 --- a/scripts/admin/publish-meteor-tool-on-arch.sh +++ b/scripts/admin/publish-meteor-tool-on-arch.sh @@ -65,7 +65,7 @@ END trap - EXIT else echo "${green}Publishing from Windowsy platform.${NC}" - + parse_keys echo "${green}Going to ssh into machine running $PLATFORM and publish the release${NC}" @@ -90,8 +90,14 @@ END ssh $USERNAME@$HOST -oUserKnownHostsFile=$TEMP_KEY -p $PORT -i $TEMP_PRIV_KEY "cmd /c echo $line>> C:\\publish-tool.bat" 2>/dev/null done 10< $BAT_FILENAME - # run the batch script to publish the meteor tool - ssh $USERNAME@$HOST -oUserKnownHostsFile=$TEMP_KEY -p $PORT -i $TEMP_PRIV_KEY "cmd /c C:\\publish-tool.bat" + # since running the script remotely fails for an unknown reason, we just + # prompt user to run this generated script themselves + echo "*******************************************************************" + echo "* You will be dropped into remote Windows host's ssh prompt." + echo "* (Look at the top of your window, the output might be weirdly overlaying your terminal)" + echo "* Please run the C:\\publish-tool.bat script to publish the release." + echo "*******************************************************************" + ssh $USERNAME@$HOST -oUserKnownHostsFile=$TEMP_KEY -p $PORT -i $TEMP_PRIV_KEY 2> /dev/null trap - EXIT fi