Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
bob
docs
Commits
0ae370f6
There was a problem fetching the pipeline summary.
Commit
0ae370f6
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix bash script
parent
cc1ce0ed
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
before_build.sh
+2
-2
2 additions, 2 deletions
before_build.sh
with
2 additions
and
2 deletions
before_build.sh
+
2
−
2
View file @
0ae370f6
...
@@ -10,9 +10,9 @@ for pkg in bob `cat requirements.txt | sed -e '/^\s*#.*/d;/^\s*$/d'`; do
...
@@ -10,9 +10,9 @@ for pkg in bob `cat requirements.txt | sed -e '/^\s*#.*/d;/^\s*$/d'`; do
git clone
--depth
1
${
GITLAB_CHECKOUT_STRATEGY
}
bob/
$pkg
doc/
$pkg
||
\
git clone
--depth
1
${
GITLAB_CHECKOUT_STRATEGY
}
bob/
$pkg
doc/
$pkg
||
\
{
git
-C
doc/
$pkg
reset
--hard
HEAD
&&
\
{
git
-C
doc/
$pkg
reset
--hard
HEAD
&&
\
git
-C
doc/
$pkg
checkout master
&&
\
git
-C
doc/
$pkg
checkout master
&&
\
git
-C
doc/
$pkg
pull
}
git
-C
doc/
$pkg
pull
;
}
if
[[
-n
"
${
CI_COMMIT_TAG
}
"
]]
;
then
if
[[
-n
"
${
CI_COMMIT_TAG
}
"
]]
;
then
tag
=
`
git
-C
doc/
$pkg
tag
-l
--sort
=
v:refname |
tail
-n
1
`
tag
=
`
git
-C
doc/
$pkg
tag
-l
--sort
=
"
v:refname
"
|
tail
-n
1
`
git
-C
doc/
$pkg
checkout
$tag
git
-C
doc/
$pkg
checkout
$tag
fi
fi
done
done
...
...
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