mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make instructions simpler for publishing on Windows
We can not reliably run the script over ssh, print instructions so users can run it manually.
This commit is contained in:
committed by
Sashko Stubailo
parent
45e8f40ece
commit
7a9ccaa9db
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user