You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting (or unsetting) Netlify branch environment variables using the CLI, the --context parameter seems to be converted to lowercase, resulting in the environment variables being associated with the wrong branch name.
Steps to reproduce
Run netlify env:set test_env_var test_value --context "Case-Sensitive"
I expect the resulting variable to be created under the "Case-Sensitive" branch, but instead it is created under the "case-sensitive" branch.
Configuration
[build]
command = "npm run build"
publish = ".next"
Describe the bug
When setting (or unsetting) Netlify branch environment variables using the CLI, the
--context
parameter seems to be converted to lowercase, resulting in the environment variables being associated with the wrong branch name.Steps to reproduce
Run
netlify env:set test_env_var test_value --context "Case-Sensitive"
I expect the resulting variable to be created under the "Case-Sensitive" branch, but instead it is created under the "case-sensitive" branch.
Configuration
[build]
command = "npm run build"
publish = ".next"
[[plugins]]
package = "netlify-plugin-cypress"
Environment
System:
OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 3.14 GB / 30.49 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 20.11.1 - ~/.volta/tools/image/node/20.11.1/bin/node
Yarn: 1.22.10 - ~/.volta/bin/yarn
npm: 10.2.4 - ~/.volta/tools/image/node/20.11.1/bin/npm
netlify --version
netlify-cli/17.21.1 linux-x64 node-v20.11.1
The text was updated successfully, but these errors were encountered: