With each new release of TS comes a new directory path associated with where to run tabadmin and tabcmd.  All existing paths will break upon upgrading.

 

 

How have we handled this?  By creating a common parameter that is fed into all scripts.  As part of our upgrade plan, we need to remember to update the parameter value.

 

 

Then, there is not a single script that has a hardcoded version number.  Rather, they all reference this parm by way of a variable (TABLEAU_INSTALLED_VERSION).

 

 

 

Why did we choose to do this instead of coding it as an environment variable.

 

- More straight forward

 

- Less risk of messing anything else up