mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -05:00
INPUT_CHANGELOG_FILE
exists for some weird reason
This commit is contained in:
parent
7a8b3f6b81
commit
9fe56c6406
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ export default abstract class ModPublisher extends Publisher<ModPublisherOptions
|
||||||
const name = typeof options.name === "string" ? options.name : (<string>releaseInfo?.name || version);
|
const name = typeof options.name === "string" ? options.name : (<string>releaseInfo?.name || version);
|
||||||
const changelog = typeof options.changelog === "string"
|
const changelog = typeof options.changelog === "string"
|
||||||
? options.changelog
|
? options.changelog
|
||||||
: typeof options.changelog?.file === "string"
|
: options.changelog?.file
|
||||||
? await readChangelog(options.changelog.file)
|
? await readChangelog(options.changelog.file)
|
||||||
: <string>releaseInfo?.body || "";
|
: <string>releaseInfo?.body || "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue