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
pankaj
2014-10-07 18:28:25 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
b299e2f150d128ee3f5a7e585b427c276beec07c
b299e2f1
2 parents
13373b52
5a1609ef
Merge branch 'master' of
ssh://gerrit.onlab.us:29418/onos-next
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
tools/build/onos-package
tools/build/onos-package
View file @
b299e2f
...
...
@@ -62,9 +62,9 @@ cp $M2_REPO/org/onlab/onos/onos-branding/$ONOS_VERSION/onos-branding-*.jar \
# Patch in the ONOS version file use the build number or the user name for
# build postfix in place of the SNAPSHOT post-fix.
build
=
${
BUILD_NUMBER
:-$(
id -un
)}
build
=
${
BUILD_NUMBER
:-$(
id -un
)
~
$(
date +
'%Y/%m/%d@%H:%M'
)
}
grep
'<version>'
$ONOS_ROOT
/pom.xml | head -n1 |
\
sed
's:.*<version>::g;s:</version>.*::g'
| sed
"s
/SNAPSHOT/
$build
/
g"
\
sed
's:.*<version>::g;s:</version>.*::g'
| sed
"s
#SNAPSHOT#
$build
#
g"
\
>>
$ONOS_STAGE
/VERSION
# Now package up the ONOS tar file
...
...
Please
register
or
login
to post a comment