Committed by
Gerrit Code Review
Only include current version's pom and feature.xml files in the package
Change-Id: I3014497b2af6e0a992aef4a8ff8494f80559d452
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -49,7 +49,7 @@ function build_stage_dir() { | ... | @@ -49,7 +49,7 @@ function build_stage_dir() { |
49 | # Stage the ONOS bundles, but only those that match the version | 49 | # Stage the ONOS bundles, but only those that match the version |
50 | mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject | 50 | mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject |
51 | find $M2_REPO/org/onosproject -type f -path "*/$ONOS_POM_VERSION/*" \ | 51 | find $M2_REPO/org/onosproject -type f -path "*/$ONOS_POM_VERSION/*" \ |
52 | - -name '*.jar' -o -name '*.pom' -o -name '*-features.xml' \ | 52 | + \( -name '*.jar' -o -name '*.pom' -o -name '*-features.xml' \) \ |
53 | | grep -v -Ee '-tests.jar|-[0-9]{8}.[0-9]{6}-' \ | 53 | | grep -v -Ee '-tests.jar|-[0-9]{8}.[0-9]{6}-' \ |
54 | | while read src; do | 54 | | while read src; do |
55 | dst=$ONOS_STAGE/$KARAF_DIST/system/${src#$M2_REPO/*} | 55 | dst=$ONOS_STAGE/$KARAF_DIST/system/${src#$M2_REPO/*} | ... | ... |
-
Please register or login to post a comment