You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove deprecated --force flag from shopify app deploy
The --force (-f) flag and SHOPIFY_FLAG_FORCE env var on `shopify app deploy`
were deprecated in favor of --allow-updates / --allow-deletes. This change
removes them along with the related deprecation warning and tests.
The internal `force` variable is preserved (now driven by --no-release)
so that --no-release continues to imply allowUpdates/allowDeletes and skips
the legacy-extension prompt as before — no behavior change for --no-release
users.
User-facing copy that referenced --force in error/next-step messages
has been updated to point at --allow-updates / --allow-deletes.
Remove the deprecated `--force` (`-f`) flag and `SHOPIFY_FLAG_FORCE` environment variable from `shopify app deploy`. Use `--allow-updates` for CI/CD environments, or `--allow-updates --allow-deletes` if you also want to allow removals. The `--no-release` flag continues to work and implicitly allows updates and deletes.
Copy file name to clipboardExpand all lines: docs-shopify.dev/commands/interfaces/app-deploy.interface.ts
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,6 @@ export interface appdeploy {
28
28
*/
29
29
'-c, --config <value>'?: string
30
30
31
-
/**
32
-
* [Deprecated] Deploy without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.
33
-
* @environment SHOPIFY_FLAG_FORCE
34
-
*/
35
-
'-f, --force'?: ''
36
-
37
31
/**
38
32
* Optional message that will be associated with this version. This is for internal use only and won't be available externally.
'[Deprecated] Deploy without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.',
Copy file name to clipboardExpand all lines: packages/cli/oclif.manifest.json
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -793,15 +793,6 @@
793
793
"name": "config",
794
794
"type": "option"
795
795
},
796
-
"force": {
797
-
"allowNo": false,
798
-
"char": "f",
799
-
"description": "[Deprecated] Deploy without asking for confirmation. Equivalent to --allow-updates --allow-deletes. Use --allow-updates for CI/CD environments instead.",
800
-
"env": "SHOPIFY_FLAG_FORCE",
801
-
"hidden": false,
802
-
"name": "force",
803
-
"type": "boolean"
804
-
},
805
796
"message": {
806
797
"description": "Optional message that will be associated with this version. This is for internal use only and won't be available externally.",
0 commit comments