The existence of a build matrix broke the env setup, causing the tar command to fail and breaking release deployments. This fixes it in a bit of a hacky way, but I couldn't find a nicer way to do it with a quick look at Travis docs.
More info:
There's an env.global setting, which is what we'd need to set, but we can't refer to variables set inside the build matrix (ie. BITS) in the global setting. So we have to find a way to set the global variable after setting the build-specific ones. And this is the nicest way I found.
The existence of a build matrix broke the
env
setup, causing thetar
command to fail and breaking release deployments. This fixes it in a bit of a hacky way, but I couldn't find a nicer way to do it with a quick look at Travis docs.More info: There's an
env.global
setting, which is what we'd need to set, but we can't refer to variables set inside the build matrix (ie.BITS
) in the global setting. So we have to find a way to set the global variable after setting the build-specific ones. And this is the nicest way I found.