mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
Add tag_name option (#39)
Allow setting tag name like actions/create-release.
This commit is contained in:
parent
b7e450da2a
commit
9f4852ebe6
7 changed files with 18 additions and 7 deletions
|
@ -7,6 +7,7 @@ export interface Config {
|
|||
github_repository: string;
|
||||
// user provided
|
||||
input_name?: string;
|
||||
input_tag_name?: string;
|
||||
input_body?: string;
|
||||
input_body_path?: string;
|
||||
input_files?: string[];
|
||||
|
@ -41,6 +42,7 @@ export const parseConfig = (env: Env): Config => {
|
|||
github_ref: env.GITHUB_REF || "",
|
||||
github_repository: env.GITHUB_REPOSITORY || "",
|
||||
input_name: env.INPUT_NAME,
|
||||
input_tag_name: env.INPUT_TAG_NAME,
|
||||
input_body: env.INPUT_BODY,
|
||||
input_body_path: env.INPUT_BODY_PATH,
|
||||
input_files: parseInputFiles(env.INPUT_FILES || ""),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue