npm package diff

Package: @forge/cli

Versions: 11.4.0-next.1-experimental-5364136 - 11.4.0-next.14

File: package/out/command-line/controller/deploy-controller.js

Index: package/out/command-line/controller/deploy-controller.js
===================================================================
--- package/out/command-line/controller/deploy-controller.js
+++ package/out/command-line/controller/deploy-controller.js
@@ -176,15 +176,15 @@
             await this.confirmAndCreateEnvironment(environment, nonInteractive);
             return this.appEnvironmentClient.getAppEnvironmentDetails(id, environment);
         }
     }
-    async run({ environment, verify, nonInteractive, majorVersion }) {
+    async run({ environment, verify, nonInteractive, majorVersion, buildTag }) {
         const { id } = await this.appConfigProvider();
         const appDetails = await this.getAppEnvironmentDetails(id, environment, nonInteractive);
         this.deployView.displayStart(environment, appDetails.environmentType);
         let hasConnectKeyChanged = false;
         let hasConnectKeyDeleted = false;
-        if (verify) {
+        if (verify && !buildTag) {
             await this.verifyPreDeployment(environment);
             const keys = await this.migrationKeysService.getMigrationKeysForAppEnvironment(environment);
             const { proceed, connectKeyChanged, connectKeyDeleted } = await this.validateConnectKeyChange(environment, keys);
             if (!proceed) {
@@ -224,9 +224,10 @@
             environmentKey: environment,
             packageConfig,
             majorVersion,
             modules: config.modules,
-            i18nConfig: config.translations
+            i18nConfig: config.translations,
+            buildTag
         }));
         if (verify) {
             await this.verifyPostDeployment(environment, appDetails.environmentType, majorVersion);
         }