Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NFV - Network Functions Virtualisation
api-tests
Commits
53bb5da8
Commit
53bb5da8
authored
3 years ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Fix regex for matching branch to generate docs
parent
a66d7da5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/validate.sh
+1
-1
1 addition, 1 deletion
scripts/validate.sh
with
1 addition
and
1 deletion
scripts/validate.sh
+
1
−
1
View file @
53bb5da8
...
...
@@ -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-3"
]]
;
then
if
[[
$1
=
~
^
(
origin
\/
){
0,1
}([
0-9]
{
1
}(
\.
[
0-9]
){
2
}){
1
}
-dev
$
||
$1
=
~
^
(
origin
\/
){
0,1
}([
0-9]
{
1
})(
\.
[
0-9]
){
2,10
}
$
||
$1
=
~ ^
(
origin
\/
){
0,1
}
master
$
||
$1
=
~ ^
(
origin
\/
){
0,1
}
Release-
([
0-9]
{
1
})
$
]]
;
then
echo
"++++ Try to generate docs for branch
$1
"
cd
/home/etsi/dev/robot2doc/robot2doc
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment