mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge branch 'current' of github.com:vyos/vyos-build into current
This commit is contained in:
commit
a0c4e26f48
@ -54,8 +54,9 @@ fi
|
||||
PROVIDER=libvirt
|
||||
|
||||
# Create version
|
||||
date=$(date -u +%Y%m%d)
|
||||
version=$(echo "$date.0.0")
|
||||
major=$(cat build/version | cut -d'+' -f2 | rev | cut -c 5- | rev)
|
||||
sub=$(cat build/version | cut -d'+' -f2 | rev | cut -c 1-4 | rev)
|
||||
version=$(echo "$major.$sub.0")
|
||||
curl -XPOST -d "version[version]=${version}" \
|
||||
https://app.vagrantup.com/api/v1/box/${VAGRANT_BOX_NAME}/versions?access_token=${VAGRANT_CLOUD_ACCESS_TOKEN}
|
||||
echo
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user