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
tom
2014-10-07 18:26:14 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c5a5abc9cd1953b041359b23cb06463a46ba42b9
c5a5abc9
1 parent
260a778f
Added time-stamping to the unofficial version number.
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 @
c5a5abc
...
...
@@ -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