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
2015-03-17 20:29:21 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d0305dac9634ae15977912c1bb06857173c168b4
d0305dac
1 parent
67435490
Updating POM_VERSION in envDefaults
Change-Id: Ie1ddfda0caf30d1f35ba3ae0e408ea1887348676
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
tools/build/envDefaults
tools/build/onos-change-version
tools/build/envDefaults
View file @
d0305da
...
...
@@ -18,7 +18,7 @@ export PATH="$PATH:$ONOS_ROOT/tools/build"
export BUILD_NUMBER=${BUILD_NUMBER:-$(id -un)~$(date +'%Y/%m/%d@%H:%M')}
# ONOS Version and onos.tar.gz staging environment
export ONOS_POM_VERSION="1.1.
0
-SNAPSHOT"
export ONOS_POM_VERSION="1.1.
1
-SNAPSHOT"
export ONOS_VERSION=${ONOS_VERSION:-1.1.1.$BUILD_NUMBER}
# ONOS production bits (onos.tar.gz & onos.zip) staging environment
...
...
tools/build/onos-change-version
View file @
d0305da
...
...
@@ -26,6 +26,7 @@ done
sed -i
""
-E
"s/ONOS_VERSION:-[^
$]
*/ONOS_VERSION:-
$NEW_VERSION_SHORT
./"
$ONOS_ROOT
/tools/build/envDefaults
sed -i
""
-E
"s/features
\/
.*
\/
xml/features
\/
$NEW_VERSION
\/
xml/"
$ONOS_ROOT
/tools/test/topos/onos.py
sed -i
""
-E
"s/ -Dversion=.*
\"
/ -Dversion=
$NEW_VERSION
\"
/"
$ONOS_ROOT
/tools/test/bin/onos-archetypes-test
sed -i
""
-E
"s/ONOS_POM_VERSION=.*
\"
/ONOS_POM_VERSION=
\"
$NEW_VERSION
\"
/"
$ONOS_ROOT
/tools/build/envDefaults
# Augment the version in archetypes tree.
mvn -f tools/package/archetypes/pom.xml versions:set -DnewVersion
=
$NEW_VERSION
versions:commit
...
...
Please
register
or
login
to post a comment