build: convert all release scripts to typescript (#44035)
* build: convert all release scripts to typescript * fix test imports * build: fix version bumper export * refactor: use as const * spec: fix bad type spec
This commit is contained in:
parent
7ebc427bf5
commit
61565465fd
22 changed files with 1072 additions and 736 deletions
|
@ -2,8 +2,6 @@ import { Octokit } from '@octokit/rest';
|
|||
import * as fs from 'node:fs';
|
||||
import { createGitHubTokenStrategy } from '../github-token';
|
||||
|
||||
if (!process.env.CI) require('dotenv-safe').load();
|
||||
|
||||
if (process.argv.length < 6) {
|
||||
console.log('Usage: upload-to-github filePath fileName releaseId');
|
||||
process.exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue