From d4f1aa5205dd68af14859052637d2d83bd0277a0 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 29 Jun 2021 05:36:54 +0300 Subject: [PATCH] Disable removing rc label from image file name --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 75e8a86..3edf38b 100755 --- a/build.sh +++ b/build.sh @@ -32,11 +32,11 @@ ${PACKER} build ros_ide_vm.json echo "--- Marking the VM" -if [[ $GITHUB_REF == refs/tags/*-rc* ]]; then +# if [[ $GITHUB_REF == refs/tags/*-rc* ]]; then # remove rc label - VERSION=${GITHUB_REF#refs/tags/} - VERSION=${VERSION/-rc*/} -elif [[ $GITHUB_REF == refs/tags/* ]]; then + # VERSION=${GITHUB_REF#refs/tags/} + # VERSION=${VERSION/-rc*/} +if [[ $GITHUB_REF == refs/tags/* ]]; then VERSION=${GITHUB_REF#refs/tags/} else VERSION=$(git describe --always)