Skip to content

Commit 5b13cb5

Browse files
committed
new cli version prop in deployment tab
1 parent f8b29f4 commit 5b13cb5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apps/webapp/app/presenters/v3/DeploymentPresenter.server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export class DeploymentPresenter {
108108
},
109109
},
110110
sdkVersion: true,
111+
cliVersion: true,
111112
},
112113
},
113114
triggeredBy: {
@@ -145,6 +146,7 @@ export class DeploymentPresenter {
145146
},
146147
deployedBy: deployment.triggeredBy,
147148
sdkVersion: deployment.worker?.sdkVersion,
149+
cliVersion: deployment.worker?.cliVersion,
148150
imageReference: deployment.imageReference,
149151
externalBuildData:
150152
externalBuildData && externalBuildData.success ? externalBuildData.data : undefined,

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.deployments.$deploymentParam/route.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ export default function Page() {
151151
<Property.Label>SDK Version</Property.Label>
152152
<Property.Value>{deployment.sdkVersion ? deployment.sdkVersion : "–"}</Property.Value>
153153
</Property.Item>
154+
<Property.Item>
155+
<Property.Label>CLI Version</Property.Label>
156+
<Property.Value>{deployment.cliVersion ? deployment.cliVersion : "–"}</Property.Value>
157+
</Property.Item>
154158
<Property.Item>
155159
<Property.Label>Started at</Property.Label>
156160
<Property.Value>

0 commit comments

Comments
 (0)