Skip to content

Commit e911181

Browse files
committed
Publish
1 parent fbb2380 commit e911181

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
# Checkout repository
19+
# Checkout
2020
- uses: actions/checkout@v4
2121
with:
2222
ref: main
2323

24-
# Setup Node.js with OIDC Trusted Publishing
24+
# Install Node
2525
- uses: actions/setup-node@v4
2626
with:
2727
node-version: '20'
2828
registry-url: 'https://registry.npmjs.org'
2929

30-
# Setup Deno
30+
# Install Deno
3131
- uses: denoland/setup-deno@v2
3232
with:
3333
deno-version: v2.5

tasks.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Range } from './task/range/index.ts'
88
import { Metrics } from './task/metrics/index.ts'
99
import { Task } from 'tasksmith'
1010

11-
const Version = '1.0.20'
11+
const Version = '1.0.21'
1212

1313
// ------------------------------------------------------------------
1414
// BuildPackage
@@ -35,10 +35,9 @@ const BuildPackage = (target: string = `target/build`) => Task.build.esm('src',
3535
// ------------------------------------------------------------------
3636
const PublishPackage = async (target: string = `target/build`) => {
3737
const { version } = JSON.parse(await Task.file(`${target}/package.json`).read())
38-
console.log(version)
3938
await Task.shell(`cd ${target} && npm publish typebox-${version}.tgz --access=public`)
40-
// await Task.shell(`git tag ${version}`)
41-
// await Task.shell(`git push origin ${version}`)
39+
await Task.shell(`git tag ${version}`)
40+
await Task.shell(`git push origin ${version}`)
4241
}
4342
// ------------------------------------------------------------------
4443
// Bench

0 commit comments

Comments
 (0)