mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-05-26 15:13:25 +00:00
Use git describe --always for image name
This commit is contained in:
2
build.sh
2
build.sh
@@ -33,7 +33,7 @@ ${PACKER} build ros_ide_vm.json
|
|||||||
echo "--- Marking the VM"
|
echo "--- Marking the VM"
|
||||||
|
|
||||||
GIT_REV=$(git rev-parse --short HEAD)
|
GIT_REV=$(git rev-parse --short HEAD)
|
||||||
GIT_DESCRIBE=$(git describe --tags)
|
GIT_DESCRIBE=$(git describe --always)
|
||||||
VM_NAME="clover-devel_${GIT_DESCRIBE}.ova"
|
VM_NAME="clover-devel_${GIT_DESCRIBE}.ova"
|
||||||
mv ./output-virtualbox-ovf/clover-devel.ova ./output-virtualbox-ovf/${VM_NAME}
|
mv ./output-virtualbox-ovf/clover-devel.ova ./output-virtualbox-ovf/${VM_NAME}
|
||||||
ls -l output-virtualbox-ovf
|
ls -l output-virtualbox-ovf
|
||||||
|
|||||||
Reference in New Issue
Block a user