Add support for make_latest property (#304)
* Add make_latest, remove dubious dist asset * Apparently make_latest is a string. * Keep default behaviour the same by defaulting to true for make_latest. * Update config tests and README * Rebuild the code. * Revert change removing commented code. * Change default behaviour to undefined for make_latest * Update input documentation. * Rebuild for code changes --------- Co-authored-by: Doug Tangren <d.tangren@gmail.com>
This commit is contained in:
@ -19,6 +19,7 @@ export interface Config {
|
||||
input_discussion_category_name?: string;
|
||||
input_generate_release_notes?: boolean;
|
||||
input_append_body?: boolean;
|
||||
input_make_latest: string | undefined;
|
||||
}
|
||||
|
||||
export const uploadUrl = (url: string): string => {
|
||||
@ -70,6 +71,7 @@ export const parseConfig = (env: Env): Config => {
|
||||
env.INPUT_DISCUSSION_CATEGORY_NAME || undefined,
|
||||
input_generate_release_notes: env.INPUT_GENERATE_RELEASE_NOTES == "true",
|
||||
input_append_body: env.INPUT_APPEND_BODY == "true",
|
||||
input_make_latest: env.INPUT_MAKE_LATEST ? env.INPUT_MAKE_LATEST : undefined,
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user