-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Konstantin,
On 11/7/18 04:28, Konstantin Kolinko wrote: > ср, 7 нояб. 2018 г. в 1:50, Christopher Schultz > <ch...@christopherschultz.net>: >> All, >> >> I've been working this afternoon on a Powershell script to do >> pretty much everything for a release. I chose Powershell because >> (a) I will have to operate on Windows for releases until I get >> NSIS working elsewhere and (b) batch scripts are The Worst. > > FYI: If I cannot do something with a batch script, I write a shell > (bash) script and run it with git-bash from Git for Windows. > > Git for Windows comes bundled with many GNU utilities. > https://github.com/git-for-windows/git/releases/ > > (If Tomcat is migrated to Git someday, you are likely to use Git > for Windows on that machine anyway). The nice thing about Powershell is that it has a utility built-in that can download stuff using HTTP. A two-line Powershell script can be copy/pasted from a web page and it can bootstrap itself from there. For *NIX, one of curl/wget is usually already available. (Wow, you can also download with recent versions of bash - https://unix.stackexchange.com/a/83927/68318). But on Windows, without Powershell you'll have to first download something (e.g. git-for-windows) and then run a script that uses those utilities. I would prefer to use sh universally because (a) I'm more familiar and (b) I find it more powerful in general -- assuming the various semi-standard utilities are available. So perhaps I'll revise the Powershell script so that it's just a bootstrap tool for getting things ready for git-bash to take over. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvi41EACgkQHPApP6U8 pFgUBg/9FmPS3oOXUwoZcIHhQafuF5qFdoJ6yqcf8M8Sj6f0Hx7/VgfahXRtM3Sj MjWQ5r+u37fYy1GEsfBBbYzf28i/RjW+8w7DAUsZNmVH8rIsDoOYMjQz/Dr98hHs L1rf4Uoa9iM3XfVoa6qyOHDyUjyeiqNwI3opeKv8HyH9VbRb4iDMcsbn6YXbPm62 PmsIjX/+ZcjbHJ0oygAIYYzbNGbdrMwTL0r+RDGew8tV3IHQTWsGsD5SYDBVeSPn ERX8My+PaCNY/p5WtPGhiS8bhhugOCwNbGeLtnInCuAJTWzxX4KPS1xsYb61uTYl bzFbWQtSamSPve7U03clSW8S0mFPtOYnNlTk6hoha3CAxGwbNns8+2mo8CGVGUJQ uACG9lkbCytBple8ayt+3iiGD/mdsWLack95bDs5BA8TM3e584xEKnWYJpdi538X Lhx2fu7yUBjzOs7IxP/KA2UACQqeVV2rGKkFdAImOnV6AaLk7CxwWY66l3HFJRyN JWMUuwlg6+96oE9Jil/1L4JV0m8B2UU1xLTiysbEx3pj2Be5LL9fKkAzda04Xlf/ Yf8I6i4bFWojj5mA2ZD6Mf3uWsZPZFnOAK01BkxSb+GUntbxC/xWaMocbwNUWptA akO78GubLADM0o6WYngrlXmK7GwCrLv3lPEMWH8wkRFZwV0GXUk= =KjkJ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org