Commit 5b5d7cc5 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix regex

parent 92410254
......@@ -23,7 +23,7 @@ mkdir -p /home/etsi/dev/build
cd /home/etsi/dev/build
rm -r -v *
if [[ "$1" =~ .*-dev$ || "$1" =~ \d+(\.?\d)+ || "$1" =~ (origin\/)?master || "$1" =~ (origin\/)?Release-\d$ ]]; then
if [[ "$1" =~ .*-dev$ || "$1" =~ \d+(\.?\d)+ || "$1" =~ (origin/)?master || "$1" =~ (origin/)?Release-\d$ ]]; then
echo "++++ Try to generate docs for branch $1"
cd /home/etsi/dev/robot2doc/robot2doc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment