@dosu/cli 0.13.1 → 0.13.2
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/bin/dosu.js +5 -4
- package/package.json +1 -1
package/bin/dosu.js
CHANGED
|
@@ -4341,7 +4341,7 @@ function getSupabaseAnonKey() {
|
|
|
4341
4341
|
function getVersionString() {
|
|
4342
4342
|
return `v${VERSION}`;
|
|
4343
4343
|
}
|
|
4344
|
-
var VERSION = "0.13.
|
|
4344
|
+
var VERSION = "0.13.2";
|
|
4345
4345
|
|
|
4346
4346
|
// src/debug/logger.ts
|
|
4347
4347
|
import {
|
|
@@ -8659,15 +8659,16 @@ async function createDeploymentForRepo(trpc, orgID, spaceID, repo) {
|
|
|
8659
8659
|
await deleteOrphanDeployment(trpc, deployment.deployment_id, repo.slug);
|
|
8660
8660
|
return null;
|
|
8661
8661
|
}
|
|
8662
|
-
|
|
8662
|
+
const dataSourceID = dataSource.data_source_id;
|
|
8663
|
+
await trpc.dataSource.syncDataSource.mutate(dataSourceID);
|
|
8663
8664
|
const spaceDeployments = await trpc.workspaces.listForSpace.query(spaceID);
|
|
8664
8665
|
await Promise.all(spaceDeployments.map((d3) => trpc.deploymentDataSource.create.mutate({
|
|
8665
8666
|
deployment_id: d3.deployment_id,
|
|
8666
|
-
data_source_id:
|
|
8667
|
+
data_source_id: dataSourceID
|
|
8667
8668
|
})));
|
|
8668
8669
|
return {
|
|
8669
8670
|
deployment_id: deployment.deployment_id,
|
|
8670
|
-
data_source_id:
|
|
8671
|
+
data_source_id: dataSourceID
|
|
8671
8672
|
};
|
|
8672
8673
|
} catch (err) {
|
|
8673
8674
|
const msg = err instanceof Error ? err.message : String(err);
|