Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

UCD cli "release create" command always ask confirmation

Discussion in 'Unity Cloud Content Delivery' started by Chapter2Dental, May 22, 2021.

  1. Chapter2Dental

    Chapter2Dental

    Joined:
    Apr 7, 2021
    Posts:
    2
    Hi,

    Is there a way to call 'create release' without being ask for confirmation?

    I'm running 'ucd releases create -q' on osx and the operation always get interrupted several times by this:
    --More-- ? [Y/n]
     
  2. timtunity3d

    timtunity3d

    Unity Technologies

    Joined:
    Oct 1, 2015
    Posts:
    124
    I tend to just pipe the yes command into this:

    yes | ucd releases create -q

    Prompts are also disabled if you redirect the output to a file:

    ucd releases create -q > /var/log/ucd.log
     
  3. Chapter2Dental

    Chapter2Dental

    Joined:
    Apr 7, 2021
    Posts:
    2
    Got it, thanks!
     
  4. DevikaSathaye

    DevikaSathaye

    Unity Technologies

    Joined:
    Aug 5, 2020
    Posts:
    6
    Hi @Chapter2Dental, great news! We just released CLI v0.9.14. Which now allows you to disable the y/n prompt! Other updates include:
    • --interactive flag added globally (to disable y/n prompt)
    • promote-only bucket support
    • added --release to entries sync command
    • improved upload behavior of sync
    • added --badge with releases create command (and with entries sync when --release is specified)