Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 945af1a

Browse files
author
Je
committed
v0.2.2
1 parent 7ce9c53 commit 945af1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bump.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function main() {
3131
const n = parseInt(answer)
3232
if (!isNaN(n) && n > 0 && n <= versions.length) {
3333
const up = versions[n - 1]
34-
if (await ask('are you sure? (y/n)') === 'y') {
34+
if (/y(es)?/i.test(await ask('are you sure? (y/n)'))) {
3535
await Deno.writeTextFile('./version.ts', `export const version = '${up}'\n`)
3636
await run('git', 'add', '.', '--all')
3737
await run('git', 'commit', '-m', `v${up}`)

version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '0.2.1'
1+
export const version = '0.2.2'

0 commit comments

Comments
 (0)