Skip to content

Commit

Permalink
fix: trimming tag_name to avoid error 422 when creating release (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerFi authored Jul 30, 2021
1 parent fb0163a commit d2a05f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || ""),
Expand Down

0 comments on commit d2a05f5

Please sign in to comment.