anaconda-graveyard / conda-concourse-ci

Conda-driven Concourse CI for package building
BSD 3-Clause "New" or "Revised" License
13 stars 29 forks source link

Another _netrc writing fix on Windows #124

Closed jjhelmus closed 5 years ago

jjhelmus commented 5 years ago

This has been tested and gives good results.

For reference: "cmd1 || cmd2" will execute cmd2 if cmd1 has a non-zero errorlevel "cmd1 && cmd2" will execute cmd2 if cmd1 has a zero errorlevel "cmd1 & cmd2" will always xecute cmd2

Commands submitted to concourse are joined with &&. Grouping the netrc writing commands and exit 0 with () is needed for the || to have its intended effect.