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
|
PROVIDER=libvirt
|
||||||
|
|
||||||
# Create version
|
# Create version
|
||||||
date=$(date -u +%Y%m%d)
|
major=$(cat build/version | cut -d'+' -f2 | rev | cut -c 5- | rev)
|
||||||
version=$(echo "$date.0.0")
|
sub=$(cat build/version | cut -d'+' -f2 | rev | cut -c 1-4 | rev)
|
||||||
|
version=$(echo "$major.$sub.0")
|
||||||
curl -XPOST -d "version[version]=${version}" \
|
curl -XPOST -d "version[version]=${version}" \
|
||||||
https://app.vagrantup.com/api/v1/box/${VAGRANT_BOX_NAME}/versions?access_token=${VAGRANT_CLOUD_ACCESS_TOKEN}
|
https://app.vagrantup.com/api/v1/box/${VAGRANT_BOX_NAME}/versions?access_token=${VAGRANT_CLOUD_ACCESS_TOKEN}
|
||||||
echo
|
echo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user