diff --git a/build.sh b/build.sh index 1f2365c..7939780 100755 --- a/build.sh +++ b/build.sh @@ -28,7 +28,8 @@ ${PACKER} build ros_ide_vm.json echo "--- Marking the VM" GIT_REV=$(git rev-parse --short HEAD) -VM_NAME="clover-devel_v0.20+${GIT_REV}.ova" +GIT_DESCRIBE=$(git describe --tags) +VM_NAME="clover-devel_${GIT_DESCRIBE}.ova" mv ./output-virtualbox-ovf/clover-devel.ova ./output-virtualbox-ovf/${VM_NAME} echo "--- All done!"