tl;dr: As the title says, don’t use hyphens in environment variables, use underscores instead.
A large part of my job is working on CI pipelines and the automation of the build and deployment of software. This means that I spend a lot of time working with environment variables and the configuration of the tools that I use.
Over the last 24 hours, I’ve spent about 6 of them trying to find out why a bash script I was working on was failing to reconcile the value of a variable.
Continue reading