[dpdk-stable] [PATCH stable-scripts] Update VERSION when tagging rc
Kevin Traynor
ktraynor at redhat.com
Fri Jun 19 20:39:35 CEST 2020
On 19/06/2020 12:35, luca.boccassi at gmail.com wrote:
> From: Luca Boccassi <luca.boccassi at microsoft.com>
>
> Signed-off-by: Luca Boccassi <luca.boccassi at microsoft.com>
> ---
> 4-final-review | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/4-final-review b/4-final-review
> index d44b824..c4fedb7 100755
> --- a/4-final-review
> +++ b/4-final-review
> @@ -22,8 +22,12 @@ change_version()
> -i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
> sed "s/#define RTE_VER_RELEASE .*/#define RTE_VER_RELEASE ${RTE_VER_RELEASE}/" \
> -i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
> - sed "s/Version: .*/Version: ${stable_release_rc}/" -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_rc}/" -i $DPDK_DIR/pkg/dpdk.spec
> + fi
> + if [ -e $DPDK_DIR/VERSION ]; then
> + echo "${stable_release_rc}" > $DPDK_DIR/VERSION
> + elif [ -e $DPDK_DIR/meson.build ]; then
> sed "s/version: '.*',/version: '${stable_release_rc}',/" -i $DPDK_DIR/meson.build
> fi
> }
>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
More information about the stable
mailing list