chore: use js for the release script

This commit is contained in:
ayo 2026-04-02 19:03:10 +02:00
parent 04bfc22330
commit bdec497bc1
2 changed files with 2 additions and 2 deletions

View file

@ -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": {

View file

@ -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'])