Skip to content

Commit d775ff3

Browse files
add comment about publish script
1 parent 916564c commit d775ff3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/cli/src/commands/dns/scripts

packages/cli/src/commands/dns/scripts/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export async function publishScript(
8282
client: ComputeClient,
8383
id: number,
8484
): Promise<void> {
85+
// The {id}/publish path has no {uuid} token (and null is skipped anyway), so this publishes the latest release.
8586
await client.POST("/compute/script/{id}/publish", {
8687
params: { path: { id, uuid: null } },
8788
body: {},

0 commit comments

Comments
 (0)