@zerodeploy/cli 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +5 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5951,6 +5951,9 @@ Error: Build failed`);
|
|
|
5951
5951
|
commitsToCheck.push(...parents);
|
|
5952
5952
|
}
|
|
5953
5953
|
} catch {}
|
|
5954
|
+
if (commitsToCheck.length > 1) {
|
|
5955
|
+
console.log(`Checking for existing deployment (commits: ${commitsToCheck.map((s) => s.slice(0, 7)).join(", ")})...`);
|
|
5956
|
+
}
|
|
5954
5957
|
const findRes = await client.orgs[":orgSlug"].sites[":siteSlug"].deployments["by-commit"].$get({
|
|
5955
5958
|
param: { orgSlug, siteSlug },
|
|
5956
5959
|
query: { commits: commitsToCheck.join(",") }
|
|
@@ -6874,7 +6877,7 @@ var accountCommand = new Command2("account").description("Manage your ZeroDeploy
|
|
|
6874
6877
|
}));
|
|
6875
6878
|
|
|
6876
6879
|
// src/lib/version.ts
|
|
6877
|
-
var VERSION = "0.1.
|
|
6880
|
+
var VERSION = "0.1.7";
|
|
6878
6881
|
|
|
6879
6882
|
// src/commands/inspect.ts
|
|
6880
6883
|
function getCommandByPath(rootCommand, path3) {
|
|
@@ -7003,7 +7006,7 @@ function createInspectCommand(rootProgram) {
|
|
|
7003
7006
|
}
|
|
7004
7007
|
|
|
7005
7008
|
// src/lib/version.ts
|
|
7006
|
-
var VERSION2 = "0.1.
|
|
7009
|
+
var VERSION2 = "0.1.7";
|
|
7007
7010
|
|
|
7008
7011
|
// src/lib/update-check.ts
|
|
7009
7012
|
import { existsSync as existsSync3, mkdirSync, readFileSync as readFileSync2, writeFileSync as writeFileSync2 } from "fs";
|