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:
Samuel Attard 2024-09-30 17:55:27 -07:00 committed by GitHub
parent 7ebc427bf5
commit 61565465fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1072 additions and 736 deletions

View file

@ -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);