From 62e41bed40dedce2189be9e07d313377c538a51e Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Wed, 23 Jun 2021 23:30:49 +0300 Subject: [PATCH] Use git describe --always for image name --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b441bf5..bfab021 100755 --- a/build.sh +++ b/build.sh @@ -33,7 +33,7 @@ ${PACKER} build ros_ide_vm.json echo "--- Marking the VM" GIT_REV=$(git rev-parse --short HEAD) -GIT_DESCRIBE=$(git describe --tags) +GIT_DESCRIBE=$(git describe --always) VM_NAME="clover-devel_${GIT_DESCRIBE}.ova" mv ./output-virtualbox-ovf/clover-devel.ova ./output-virtualbox-ovf/${VM_NAME} ls -l output-virtualbox-ovf