aboutsummaryrefslogtreecommitdiffstats
path: root/docs/usecases/vmxnet3.rst
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-05-29 10:00:46 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-05-30 10:05:35 +0000
commit048acfbd9ee6c0d476ffd87db9c1c744f3040e25 (patch)
tree533f859961acacae77bf2e95864a99c7ceb7b252 /docs/usecases/vmxnet3.rst
parenta9116240d140c652ea0946aea3ee00b043151fc3 (diff)
dpdk: remove bonding code
We have native implementation and we should not maintain both.... Change-Id: Ic09ebffda52cdc733b3cfeff06690e0d3cc08084 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'docs/usecases/vmxnet3.rst')
0 files changed, 0 insertions, 0 deletions
#0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash

TAG=$(git describe | cut -d- -f1 | sed -e 's/^v//')
ADD=$(git describe | cut -s -d- -f2)
CMT=$(git describe --dirty --match 'v*'| cut -s -d- -f3,4)

if [ -n "${BUILD_NUMBER}" ]; then
       BLD="~b${BUILD_NUMBER}"
fi

if [ "$1" = "rpm-version" ]; then
  echo ${TAG}
  exit
fi

if [ "$1" = "rpm-release" ]; then
  [ -z "${ADD}" ] && echo release && exit
  CMT=$(git describe --dirty --match 'v*'| cut -s -d- -f3,4 | sed 's/-/_/')
  echo ${ADD}${CMT:+~${CMT}}${BLD}
  exit
fi

if [ -n "${ADD}" ]; then
  echo ${TAG}-${ADD}${CMT:+~${CMT}}${BLD}
else
  echo ${TAG}
fi