chore: use js for the release script
This commit is contained in:
parent
04bfc22330
commit
bdec497bc1
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"release": "bumpp && node scripts/release.ts"
|
"release": "bumpp && node scripts/release.js"
|
||||||
},
|
},
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// forked from https://github.com/elk-zone/elk/blob/main/scripts/release.ts
|
// forked from https://github.com/elk-zone/elk/blob/main/scripts/release.ts
|
||||||
import {simpleGit, } from 'simple-git'
|
import {simpleGit } from 'simple-git'
|
||||||
|
|
||||||
const git = simpleGit()
|
const git = simpleGit()
|
||||||
const hash = await git.revparse(['main'])
|
const hash = await git.revparse(['main'])
|
||||||
Loading…
Reference in a new issue