Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-mirrors
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wonko
gitlab-mirrors
Commits
ada25682
Commit
ada25682
authored
11 years ago
by
Sam Gleske
Browse files
Options
Downloads
Patches
Plain Diff
Version bump. enable_colors checking added.
parent
bc83b354
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
add_mirror.sh
+11
-0
11 additions, 0 deletions
add_mirror.sh
lib/VERSION
+1
-1
1 addition, 1 deletion
lib/VERSION
with
12 additions
and
1 deletion
add_mirror.sh
+
11
−
0
View file @
ada25682
...
...
@@ -160,6 +160,17 @@ function preflight() {
red_echo
" does not exist!"
STATUS
=
1
fi
#test enable_colors environment variable (must be bool)
if
[
!
"
${
enable_colors
}
"
=
"true"
]
&&
[
!
"
${
enable_colors
}
"
=
"false"
]
;
then
red_echo
-n
"enable_colors="
yellow_echo
-n
"
${
enable_colors
}
"
red_echo
-n
"is not a valid option for enable_colors! Must be "
yellow_echo
-n
"true"
red_echo
-n
"or "
yellow_echo
-n
"false"
red_echo
"."
1>&2
STATUS
=
1
fi
#test issues_enabled environment variable (must be bool)
if
[
!
"
${
issues_enabled
}
"
=
"true"
]
&&
[
!
"
${
issues_enabled
}
"
=
"false"
]
;
then
red_echo
-n
"issues_enabled="
...
...
This diff is collapsed.
Click to expand it.
lib/VERSION
+
1
−
1
View file @
ada25682
VERSION="v0.2"
VERSION="v0.2
.2
"
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