Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
4a034b4e
Commit
4a034b4e
authored
Sep 23, 2014
by
Brendan Burns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up scripts to require a minimal gsutil version.
parent
331fb7e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
dev-build-and-up.sh
hack/dev-build-and-up.sh
+2
-0
release.sh
release/release.sh
+10
-0
No files found.
hack/dev-build-and-up.sh
View file @
4a034b4e
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
# This script will build a dev release and bring up a new cluster with that
# This script will build a dev release and bring up a new cluster with that
# release.
# release.
set
-e
# First build the binaries
# First build the binaries
$(
dirname
$0
)
/build-go.sh
$(
dirname
$0
)
/build-go.sh
if
[
"
$?
"
!=
"0"
]
;
then
if
[
"
$?
"
!=
"0"
]
;
then
...
...
release/release.sh
View file @
4a034b4e
...
@@ -23,6 +23,16 @@
...
@@ -23,6 +23,16 @@
# exit on any error
# exit on any error
set
-e
set
-e
gsutil_version
=
$(
gsutil version |
awk
'{split($0,a," "); print a[3]}'
)
# Warning! uses lexical comparison. This really only works for major versions, or minor versions up to x.9
min_gsutil_version
=
"4.0"
if
[[
"
$gsutil_version
"
<
"
$min_gsutil_version
"
]]
;
then
echo
"gsutil version
$min_gsutil_version
or greater is required, please run 'gcloud components upgrade'"
exit
1
fi
SCRIPT_DIR
=
$(
CDPATH
=
""
cd
$(
dirname
$0
)
;
pwd
)
SCRIPT_DIR
=
$(
CDPATH
=
""
cd
$(
dirname
$0
)
;
pwd
)
source
$SCRIPT_DIR
/config.sh
source
$SCRIPT_DIR
/config.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment