This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git
The following commit(s) were added to refs/heads/master by this push: new df34448 Updated Release Manager Notes (markdown) df34448 is described below commit df34448cc8c0b585a2e1d4fde60dddefc5f8ae11 Author: aharui <aha...@apache.org> AuthorDate: Mon Nov 12 07:37:49 2018 +0000 Updated Release Manager Notes (markdown) --- Release-Manager-Notes.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Release-Manager-Notes.md b/Release-Manager-Notes.md index b461a88..1548afa 100644 --- a/Release-Manager-Notes.md +++ b/Release-Manager-Notes.md @@ -208,7 +208,29 @@ Then, I opened a Powershell window and ran: '"C:\Program Files\Git\cmd\start-ssh-agent.cmd"' -For some reason, that causes the Powershell command to go away. I think start-ssh-agent runs a command prompt shell afterwards instead of Powershell, so that means that Powershell features go away. And because Powershell limits to 9999 lines of console output and the build spits out many more lines than that, having Powershell fork output to a file is useful. So I would launch another Powershell window and run Ant in there, but pipe the output to a file via: +For some reason, that causes the Powershell command to go away. I think start-ssh-agent runs a command prompt shell afterwards instead of Powershell, so that means that Powershell features go away. + +Note (November 11, 2018): The above did not work for me. The internet says that OpenSSH is now shipped with Windows and Powershell knows how to work with it but Git doesn't use it by default. Also, OpenSSH seems to be disabled by default. I took the following steps: + +In c:\Users\<username>\.gitconfig, add: + +`[core]` +` sshcommand = c:/Windows/System32/OpenSSH/ssh.exe` + +Then in the Window "Services" app, I found OpenSSH Authentication service was disabled. I right-clicked on the word "disabled" and changed "disabled" to Manual". + +Then in Powershell, I ran: + +`Start-Service ssh-agent` +`ssh-add C:\Users\<username>\.ssh\id_rsa` + +This asked me for the passphrase for the key. + +Then test ssh by making a small commit (I changed royale-compiler GIT-TEST.txt) and pushing using the SSH user: + +`git push g...@github.com:apache/royale-compiler.git` + +Because Powershell limits to 9999 lines of console output and the build spits out many more lines than that, having Powershell fork output to a file is useful. So I would launch another Powershell window and run Ant in there, but pipe the output to a file via: 'ant -f releasecandidate.xml <options> | Tee-Object -file <path to log>'