mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-09-10 19:48:31 +08:00
add append_body option (#199)
This commit is contained in:
@@ -18,6 +18,7 @@ export interface Config {
|
||||
input_target_commitish?: string;
|
||||
input_discussion_category_name?: string;
|
||||
input_generate_release_notes?: boolean;
|
||||
input_append_body?: boolean;
|
||||
}
|
||||
|
||||
export const uploadUrl = (url: string): string => {
|
||||
@@ -67,7 +68,8 @@ export const parseConfig = (env: Env): Config => {
|
||||
input_target_commitish: env.INPUT_TARGET_COMMITISH || undefined,
|
||||
input_discussion_category_name:
|
||||
env.INPUT_DISCUSSION_CATEGORY_NAME || undefined,
|
||||
input_generate_release_notes: env.INPUT_GENERATE_RELEASE_NOTES == "true"
|
||||
input_generate_release_notes: env.INPUT_GENERATE_RELEASE_NOTES == "true",
|
||||
input_append_body: env.INPUT_APPEND_BODY == "true"
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user