Skip to content

Commit

Permalink
docs: use verbose mode in zx
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiboss committed Dec 6, 2024
1 parent 3afb4ce commit 9b6b102
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/scripts/build-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import 'zx/globals'

const isSoDoc = process.env.PIPLINENAME === 'SODOC'

$.verbose = true

if (isSoDoc) {
process.env.IS_SODOC = 'true'

Expand Down
2 changes: 2 additions & 0 deletions docs/scripts/generate-hooks-data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'zx/globals'

$.verbose = true

import { dirname, join, resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
import { camelCase } from 'change-case'
Expand Down
2 changes: 2 additions & 0 deletions docs/scripts/release-docs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'zx/globals'

$.verbose = true

const commitHash = (await $`git rev-parse --short HEAD`).stdout.replace(/(\n|,$)/g, '').trim()

await $`git tag doc-release/1.0.0/${commitHash}`
Expand Down

0 comments on commit 9b6b102

Please sign in to comment.