Skip to content

Commit

Permalink
Use git describe for image name
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Oct 23, 2020
1 parent 18e3d24 commit 29f4118
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit 29f4118

Please sign in to comment.