Skip to content

Commit

Permalink
Remove hard coded version string.
Browse files Browse the repository at this point in the history
  • Loading branch information
ladar committed Nov 5, 2023
1 parent 866db9c commit 6f7145c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/scripts/direct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function upload_box() {
{ ${CURL} --tlsv1.2 --silent --retry 4 --retry-delay 2 --max-time 180 --request POST --fail \
--output /dev/null --header "Authorization: Bearer $VAGRANT_CLOUD_TOKEN" \
--header "Content-Type: application/json" \
--data "{\"version\":{\"version\":\"4.3.3\",\"description\":\"A build environment for use in cross platform development.\"}}" \
--data "{\"version\":{\"version\":\"${VERSION}\",\"description\":\"A build environment for use in cross platform development.\"}}" \
"https://${VAGRANTPATH}/api/v2/box/$ORG/$BOX/versions" && sleep 4 || \
{
printf "${T_BYEL} Version creation failed. [ $ORG $BOX $PROVIDER $ARCH $VERSION / RECURSION = $RECURSION ]${T_RESET}\n" >&2
Expand Down

0 comments on commit 6f7145c

Please sign in to comment.