mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-05-26 07:07:58 +00:00
Use git describe for image name
This commit is contained in:
3
build.sh
3
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!"
|
||||
|
||||
Reference in New Issue
Block a user