This commit is contained in:
jusax23 2022-11-08 15:51:21 +01:00
parent 0069133046
commit 99318cf113
3 changed files with 6 additions and 0 deletions

3
package-lock.json generated
View file

@ -12,6 +12,9 @@
"form-data": "^4.0.0",
"node-fetch": "^3.2.10",
"path": "^0.12.7"
},
"bin": {
"gitea-release": "upload.js"
}
},
"node_modules/asynckit": {

View file

@ -14,6 +14,7 @@
"files": [
"upload.js"
],
"bin": "upload.js",
"author": "jusax23",
"license": "ISC",
"dependencies": {

2
upload.js Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env node
import fs from "fs";
import fetch from "node-fetch";
import FormData from "form-data";