Use git describe --always for image name

This commit is contained in:
Oleg Kalachev
2021-06-23 23:30:49 +03:00
parent 31d0d6e2fc
commit 62e41bed40

View File

@@ -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