mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-06-01 17:49:32 +00:00
Compare commits
12 Commits
actions-no
...
v1.0-rc.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4f1aa5205 | ||
|
|
c1be6a58f5 | ||
|
|
1cf82a36b7 | ||
|
|
1b1a5a5121 | ||
|
|
d9bd9a531c | ||
|
|
3383261d3e | ||
|
|
299427e72a | ||
|
|
fd99c500d8 | ||
|
|
6e0ae794a8 | ||
|
|
0ab9135864 | ||
|
|
50e6b431a6 | ||
|
|
77d5496ede |
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -5,6 +5,8 @@ on:
|
||||
branches: [ '*' ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
release:
|
||||
types: [ created ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
14
build.sh
14
build.sh
@@ -32,9 +32,17 @@ ${PACKER} build ros_ide_vm.json
|
||||
|
||||
echo "--- Marking the VM"
|
||||
|
||||
GIT_REV=$(git rev-parse --short HEAD)
|
||||
GIT_DESCRIBE=$(git describe --always)
|
||||
VM_NAME="clover-devel_${GIT_DESCRIBE}.ova"
|
||||
# if [[ $GITHUB_REF == refs/tags/*-rc* ]]; then
|
||||
# remove rc label
|
||||
# VERSION=${GITHUB_REF#refs/tags/}
|
||||
# VERSION=${VERSION/-rc*/}
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
VERSION=${GITHUB_REF#refs/tags/}
|
||||
else
|
||||
VERSION=$(git describe --always)
|
||||
fi
|
||||
|
||||
VM_NAME="clover-devel_${VERSION}.ova"
|
||||
mv ./output-virtualbox-ovf/clover-devel.ova ./output-virtualbox-ovf/${VM_NAME}
|
||||
ls -l output-virtualbox-ovf
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "scripts/installSoftware.sh",
|
||||
"script": "scripts/install_software.sh",
|
||||
"execute_command": "PASSWORD='{{user `password`}}' bash '{{.Path}}'"
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user