Excluding snapshot downloads from packaging.
Change-Id: I4049a33fa86d7f0e8194e863bff224909d34fa9d
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -53,7 +53,8 @@ sed "s/\$KARAF_VERSION/$KARAF_VERSION/g" \ | ... | @@ -53,7 +53,8 @@ sed "s/\$KARAF_VERSION/$KARAF_VERSION/g" \ |
53 | mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject | 53 | mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject |
54 | find $M2_REPO/org/onosproject -type f -path "*/$ONOS_POM_VERSION/*" \ | 54 | find $M2_REPO/org/onosproject -type f -path "*/$ONOS_POM_VERSION/*" \ |
55 | -name '*.jar' -o -name '*.pom' -o -name 'features.xml' \ | 55 | -name '*.jar' -o -name '*.pom' -o -name 'features.xml' \ |
56 | - | grep -v -e '-tests.jar' | while read src; do | 56 | + | grep -v -Ee '-tests.jar|-[0-9]{8}.[0-9]{6}-' \ |
57 | + | while read src; do | ||
57 | dst=$ONOS_STAGE/$KARAF_DIST/system/${src#$M2_REPO/*} | 58 | dst=$ONOS_STAGE/$KARAF_DIST/system/${src#$M2_REPO/*} |
58 | mkdir -p $(dirname $dst) | 59 | mkdir -p $(dirname $dst) |
59 | cp $src $dst | 60 | cp $src $dst | ... | ... |
-
Please register or login to post a comment