# Bitrise: single-quoted bash stops env vars from expanding

## TL;DR

If a Bitrise script step sees your env var literally instead of its value, check your quotes. Single-quoted Bash strings do not expand variables; use double quotes around anything that references one. Context: From a Bitrise Discuss forum thread.

Use this when you run into the situation in the title.

**When not to use this skill:** unrelated tasks. It covers only the procedure above.

## Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

## Details

Environment variables used inside a script step did not expand because the payload was wrapped in single quotes in Bash, which prevents expansion. Switching to double quotes fixed it. The thread is a classic reminder that the quoting belongs to the shell, not to Bitrise.
