Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -62,9 +62,9 @@ cp $M2_REPO/org/onlab/onos/onos-branding/$ONOS_VERSION/onos-branding-*.jar \ | ... | @@ -62,9 +62,9 @@ cp $M2_REPO/org/onlab/onos/onos-branding/$ONOS_VERSION/onos-branding-*.jar \ |
62 | 62 | ||
63 | # Patch in the ONOS version file use the build number or the user name for | 63 | # Patch in the ONOS version file use the build number or the user name for |
64 | # build postfix in place of the SNAPSHOT post-fix. | 64 | # build postfix in place of the SNAPSHOT post-fix. |
65 | -build=${BUILD_NUMBER:-$(id -un)} | 65 | +build=${BUILD_NUMBER:-$(id -un)~$(date +'%Y/%m/%d@%H:%M')} |
66 | grep '<version>' $ONOS_ROOT/pom.xml | head -n1 | \ | 66 | grep '<version>' $ONOS_ROOT/pom.xml | head -n1 | \ |
67 | - sed 's:.*<version>::g;s:</version>.*::g' | sed "s/SNAPSHOT/$build/g" \ | 67 | + sed 's:.*<version>::g;s:</version>.*::g' | sed "s#SNAPSHOT#$build#g" \ |
68 | >> $ONOS_STAGE/VERSION | 68 | >> $ONOS_STAGE/VERSION |
69 | 69 | ||
70 | # Now package up the ONOS tar file | 70 | # Now package up the ONOS tar file | ... | ... |
-
Please register or login to post a comment