[dpdk-stable] [PATCH stable-scripts 1/2] Update version mangling
Kevin Traynor
ktraynor at redhat.com
Wed Mar 18 13:15:41 CET 2020
On 17/03/2020 10:19, luca.boccassi at gmail.com wrote:
> From: Luca Boccassi <luca.boccassi at microsoft.com>
>
> The version has moved to a VERSION file, and the spec file has been
> removed.
>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
This is good for final release, but some changes are also needed if we
want to keep updating for RCs.
> Signed-off-by: Luca Boccassi <luca.boccassi at microsoft.com>
> ---
> 5-make-release-commit | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/5-make-release-commit b/5-make-release-commit
> index a73efa7..4926ab1 100755
> --- a/5-make-release-commit
> +++ b/5-make-release-commit
> @@ -11,8 +11,12 @@ change_version()
> -i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
> sed "s/#define RTE_VER_RELEASE .*/#define RTE_VER_RELEASE 16/" \
> -i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
> - sed "s/Version: .*/Version: ${stable_release}/" -i $DPDK_DIR/pkg/dpdk.spec
> - if [ -e $DPDK_DIR/meson.build ]; then
> + if [ -e $DPDK_DIR/pkg/dpdk.spec ]; then
> + sed "s/Version: .*/Version: ${stable_release}/" -i $DPDK_DIR/pkg/dpdk.spec
> + fi
> + if [ -e $DPDK_DIR/VERSION ]; then
> + echo "${stable_release}" > $DPDK_DIR/VERSION
> + elif [ -e $DPDK_DIR/meson.build ]; then
> sed "s/version: '.*',/version: '${stable_release}',/" -i $DPDK_DIR/meson.build
> fi
> }
>
More information about the stable
mailing list