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
Possibly not, but how does
[[ $GITHUB_HEAD_REF = "dev" ]]
make any sense? Shouldn't it be
[[ $GITHUB_HEAD_REF == "dev" ]]?
[[ $GITHUB_HEAD_REF == "dev" ]]
After all, it's a comparison - and single = are normally assignments. But there might be some hidden Bash sorcery at work that I don't understand...
=
See:
tools/.github/workflows/branch.yml
Line 16 in 4a29080
Introduced in f499c3f
The text was updated successfully, but these errors were encountered:
OK, so there is the possibility to use either == or = for comparisons within [[ in Bash. See: https://www.gnu.org/software/bash/manual/html_node/Bash-Conditional-Expressions.html
==
[[
I still think it is better to harmonize the synthax.
Sorry, something went wrong.
Closed by #2203
No branches or pull requests
Possibly not, but how does
[[ $GITHUB_HEAD_REF = "dev" ]]
make any sense? Shouldn't it be
[[ $GITHUB_HEAD_REF == "dev" ]]
?After all, it's a comparison - and single
=
are normally assignments. But there might be some hidden Bash sorcery at work that I don't understand...See:
tools/.github/workflows/branch.yml
Line 16 in 4a29080
Introduced in f499c3f
The text was updated successfully, but these errors were encountered: