This commit is contained in:
parent
f62da8f3fe
commit
c77271589e
1 changed files with 3 additions and 3 deletions
|
@ -5,10 +5,10 @@ import { readFile } from "node:fs/promises";
|
|||
|
||||
// Either a path to a JSON file or an object
|
||||
// const CONFIG = "publish.config.json";
|
||||
const gradleProps = getProps("gradle.properties");
|
||||
const gradleProps = await getProps("gradle.properties");
|
||||
const CONFIG = {
|
||||
"title": process.env.VER_TITTLE,
|
||||
"version": gradleProps.version,
|
||||
"version": "${gradleProps.version}",
|
||||
"featured": false,
|
||||
"releaseChannel": "dev",
|
||||
"loaders": ["quilt"],
|
||||
|
@ -17,7 +17,7 @@ const CONFIG = {
|
|||
"key": "quilt_loader.depends.1.versions"
|
||||
},
|
||||
"files": {
|
||||
"primary": "build/libs/CookieServerUtils-"+gradleProps.version+".jar"
|
||||
"primary": "build/libs/CookieServerUtils-${gradleProps.version}.jar"
|
||||
},
|
||||
"repoApi": "",
|
||||
"gitReleaseUrl": "/releases/latest",
|
||||
|
|
Loading…
Reference in a new issue