shorebird icon indicating copy to clipboard operation
shorebird copied to clipboard

feat: skip confirmation when create a new release

Open minhtritc97 opened this issue 1 year ago • 8 comments

Hello everyone, I have a question --force flag has been removed, how I can skip confirmation "would you like to continue" when create a new release

image

minhtritc97 avatar Apr 09 '24 04:04 minhtritc97

Hi @minhtritc97 👋 --force was removed in favor of:

  • --allow-asset-diffs: Patch even if asset diffs are detected.
  • --allow-native-diffs: Patch even if native code diffs are detected.

Hope that helps 👍

felangel avatar Apr 09 '24 04:04 felangel

If you are seeing unexpected changes you have to skip, we'd love to help diagnose.

eseidel avatar Apr 09 '24 04:04 eseidel

thanks for supporting

minhtritc97 avatar Apr 09 '24 06:04 minhtritc97

To clarify, are you just asking to skip the "would you like to continue" prompt?

bryanoltman avatar Apr 09 '24 14:04 bryanoltman

To clarify, are you just asking to skip the "would you like to continue" prompt?

yes, I need that

minhtritc97 avatar Apr 10 '24 06:04 minhtritc97

@felangel is the right response here just the CI=true flag?

eseidel avatar Apr 17 '24 21:04 eseidel

@felangel is the right response here just the CI=true flag?

If you want to just skip all prompts then yes 👍

felangel avatar Apr 18 '24 00:04 felangel

I guess another approach would be the "yes" command which is designed to help with this sort of thing. I don't know if other tools have a --no-confirm or similar.

e.g. yes | shorebird release android

eseidel avatar Apr 18 '24 16:04 eseidel