mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-05-26 23:19:32 +00:00
Disable removing rc label from image file name
This commit is contained in:
8
build.sh
8
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)
|
||||
|
||||
Reference in New Issue
Block a user