We added support for installing the CLI via the shell script installation method under Git Bash in #325. That works great, but when you try updating via doppler update after doing that, you're greeted with a this command is not yet implemented for your operating system error. This update adds an additional check that looks for a value of MINGW64 in the MSYSTEM environment variable (which Git Bash sets automatically) and if it finds that allows for updates (the typical Go OS checks return a generic "windows" for Git Bash, which is why we had to resort to the environment variable). It also swaps to executing the install script inside of sh.
We added support for installing the CLI via the shell script installation method under Git Bash in #325. That works great, but when you try updating via
doppler update
after doing that, you're greeted with athis command is not yet implemented for your operating system
error. This update adds an additional check that looks for a value ofMINGW64
in theMSYSTEM
environment variable (which Git Bash sets automatically) and if it finds that allows for updates (the typical Go OS checks return a generic "windows" for Git Bash, which is why we had to resort to the environment variable). It also swaps to executing the install script inside ofsh
.