We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/platformsh/platformsh-magento2-configuration/blob/master/Platformsh.php#L471
It’s checking whether PLATFORM_ENVIRONMENT is equal to master.
PLATFORM_ENVIRONMENT
master
However, running echo $PLATFORM_ENVIRONMENT returns master-{some_platform_id}.
echo $PLATFORM_ENVIRONMENT
master-{some_platform_id}
Also, according to the docs, PLATFORM_BRANCH should be used instead; https://docs.platform.sh/development/variables.html#platformsh-environment-variables
PLATFORM_BRANCH
As far as I can see, isMasterBranch will always return false.
isMasterBranch
false
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/platformsh/platformsh-magento2-configuration/blob/master/Platformsh.php#L471
It’s checking whether
PLATFORM_ENVIRONMENT
is equal tomaster
.However, running
echo $PLATFORM_ENVIRONMENT
returnsmaster-{some_platform_id}
.Also, according to the docs,
PLATFORM_BRANCH
should be used instead; https://docs.platform.sh/development/variables.html#platformsh-environment-variablesAs far as I can see,
isMasterBranch
will always returnfalse
.The text was updated successfully, but these errors were encountered: