I tried adding an escapable character (namely the "xxxxx/" (forward slash) character) to the TAG_PREFIX variable, but I was unable to do so because:
sed: bad option in substitution expression
On the other hand, if I try to assign the same character to the TAG_PREFIX variable by escaping it with a backward slash (as in "xxxxx\/"), then instead of escaping, the two characters are treated by their literal value, which causes bumping to fail (since the literal value and the escaped value cannot match):
fatal: ambiguous argument 'xxxxx\/v0.0.0': unknown revision or path not in the working tree.
Am I correct to assume that this is a bug? Also, is there a workaround for this?
Edit: since the first error complains about sed, I suspect this error might have to do with regular expressions, since regex normally treats the forward slash as a special delimiter character
I tried adding an escapable character (namely the "xxxxx/" (forward slash) character) to the
TAG_PREFIXvariable, but I was unable to do so because:sed: bad option in substitution expressionOn the other hand, if I try to assign the same character to the
TAG_PREFIXvariable by escaping it with a backward slash (as in "xxxxx\/"), then instead of escaping, the two characters are treated by their literal value, which causes bumping to fail (since the literal value and the escaped value cannot match):Am I correct to assume that this is a bug? Also, is there a workaround for this?
Edit: since the first error complains about
sed, I suspect this error might have to do with regular expressions, since regex normally treats the forward slash as a special delimiter character