Is there any way to know if a tarball is prod?

I use Distillery to build a release build. I have STG and PROD environments. I sometimes deploy a wrong build to the a site, STG build to PROD environment or vice versa. Is there any way to know for which environments the tarball is built?

Now I treat it with adding a dummy module only in PROD so that I can know whether it’s for PROD or not(in case Beam file for the dummy module is included, it’s for PROD environment), but I’m sure there is some more better(also easier) ways.