Hi,
I had swiched from using YAML for JSON for drone-config but I bumped into this behavior.
What used to work in YAML as:
${DRONE_COMMIT_BRANCH//\//-}
is not working in JSON as:
${DRONE_COMMIT_BRANCH//\\//-}
I’m following this where it’s said that I should use double backslash.
The goal is to replace / for - in commit_branch. Let’s say I have branch test/branch/with/slashes and as result I’d like test-branch-with-slashes
Thanks.