mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
11 lines
277 B
Bash
Executable File
11 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
rm -f buildserver.box
|
|
cd buildserver
|
|
vagrant halt
|
|
vagrant up
|
|
vagrant halt
|
|
vagrant package --base `VBoxManage list vms | grep buildserver | sed 's/"\(.*\)".*/\1/'` --output buildserver.box
|
|
vagrant box add buildserver buildserver.box -f && rm buildserver.box
|
|
|