Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Brian O'Connor
2016-03-10 15:44:27 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a317872d5e4b5a923453f87dfd518f62a8a2f6d4
a317872d
1 parent
955c316b
Some improvements to release tools
Change-Id: I651866d746a1e661fcefe0b28ef1e8e57cd502e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
tools/build/onos-prepare-release
tools/build/onos-release-prerequisites
tools/build/onos-upload-docs
tools/build/onos-prepare-release
View file @
a317872
...
...
@@ -26,7 +26,8 @@ git fetch origin
git checkout
$BRANCH
# Check existance of version
git tag -l | grep -q
$ONOS_VERSION
&&
{
echo
"ERROR: Version already exists"
;
exit
-1;
}
git tag -l | grep -q
"
$ONOS_VERSION
\$
"
&&
{
echo
"ERROR: Version already exists"
;
exit
-1;
}
export
ONOS_ROOT
=
$DIR
.
$ONOS_ROOT
/tools/build/envDefaults
...
...
tools/build/onos-release-prerequisites
View file @
a317872
...
...
@@ -39,7 +39,7 @@ function testJavaVersion {
trap
"echo 'FAILED'"
ERR
printf
"Checking Java version... "
v
=
$(
javac -version 2>&1 | grep 1.8.0_ | sed -e
's/.*1.8.0_\([0-9]*\).*/\1/g'
)
test
"
$v
"
-ge 7
4
test
"
$v
"
-ge 7
3
echo
"OK"
}
...
...
tools/build/onos-upload-docs
View file @
a317872
...
...
@@ -8,7 +8,7 @@ set -e
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
user
=
${
1
:-
$
USER
}
user
=
${
1
:-$
{
WIKI_USER
:-
$USER
}
}
remote
=
$user
@wiki.onosproject.org
scp
$ONOS_ROOT
/docs/target/onos-apidocs-
$ONOS_VERSION
.tar.gz
$remote
:/tmp
...
...
Please
register
or
login
to post a comment