mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
fix: trimming tag_name to avoid error 422 when creating release (#130)
This commit is contained in:
parent
fb0163a75b
commit
d2a05f5e5a
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ export const parseConfig = (env: Env): Config => {
|
|||
github_ref: env.GITHUB_REF || "",
|
||||
github_repository: env.INPUT_REPOSITORY || env.GITHUB_REPOSITORY || "",
|
||||
input_name: env.INPUT_NAME,
|
||||
input_tag_name: env.INPUT_TAG_NAME,
|
||||
input_tag_name: env.INPUT_TAG_NAME?.trim(),
|
||||
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