{"record":{"id":"abb088f8b36e2d83","repo":"hashicorp/vagrant","slug":"this-will-release-version-version-from-box-t","errorCode":null,"errorMessage":"This will release version %{version} from %{box} to Vagrant Cloud and be available to download.","messagePattern":"This will release version %(.+?) from %(.+?) to Vagrant Cloud and be available to download\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"plugins/commands/cloud/version/release.rb","lineNumber":37,"sourceCode":"              o.separator \"Releases a version entry on Vagrant Cloud\"\n              o.separator \"\"\n              o.separator \"Options:\"\n              o.separator \"\"\n              o.on(\"-f\", \"--[no-]force\", \"Release without confirmation\") do |f|\n                options[:force] = f\n              end\n            end\n\n            # Parse the options\n            argv = parse_options(opts)\n            return if !argv\n            if argv.size != 2\n              raise Vagrant::Errors::CLIInvalidUsage,\n                help: opts.help.chomp\n            end\n\n            if !options[:force]\n              @env.ui.warn(I18n.t(\"cloud_command.version.release_warn\", version: argv[1], box: argv.first))\n              cont = @env.ui.ask(I18n.t(\"cloud_command.continue\"))\n              return 1 if cont.strip.downcase != \"y\"\n            end\n\n            @client = client_login(@env)\n            org, box_name = argv.first.split('/', 2)\n            version = argv[1]\n\n            release_version(org, box_name, version, @client.token, options)\n          end\n\n          # Release the box version\n          #\n          # @param [String] org Organization name\n          # @param [String] box_name Box name\n          # @param [String] version Version of the box\n          # @param [String] access_token User Vagrant Cloud access token\n          # @param [Hash] options Currently unused","sourceCodeStart":19,"sourceCodeEnd":55,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/plugins/commands/cloud/version/release.rb#L19-L55","documentation":"Confirmation warning from `vagrant cloud version release` before it publishes a box version, making it downloadable from Vagrant Cloud. Shown only without --force; the shared continue prompt follows and anything but \"y\" returns exit code 1 without releasing.","triggerScenarios":"`vagrant cloud version release org/box 1.2.3` without --force, once argv parses as exactly [\"org/box\", version]. Answering n or ctrl-c returns 1 and the version stays unreleased.","commonSituations":"First publish of a newly created version; scripted release pipelines that hit the interactive prompt; making a box consumable via `vagrant box add`.","solutions":["Answer `y` at the prompt to release the version","Pass `--force` in automation to skip the prompt and sleep-free release","Answer anything but `y` to abort (exit code 1, version unchanged)","Check the version and its state beforehand with `vagrant cloud box info org/box`"],"exampleFix":"# before\nvagrant cloud version release acme/app 1.0.0   # interactive prompt\n# after (automation)\nvagrant cloud version release acme/app 1.0.0 --force","handlingStrategy":"validation","validationCode":"# Preflight: confirm the version exists and is unreleased before releasing\nvagrant cloud box info acme/app | grep -q \"1.0.0\" || echo \"version missing\"","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use --force only in automated publish pipelines","Pair release with an earlier `vagrant cloud version create` in scripts so state is known","Answer the prompt only after re-reading the version number in the warning line"],"tags":["vagrant","cloud","version","release","confirmation"],"backgroundTag":"cli-confirmation-prompt","analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}