mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 18:44:19 +00:00
Copy type doesn't require a clone
This commit is contained in:
parent
a19f8a1770
commit
096011b403
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn release(conf: &Config) -> Release {
|
|||
} = conf;
|
||||
let tag_name = github_ref.trim_start_matches("refs/tags/").to_string();
|
||||
let name = input_name.clone().or_else(|| Some(tag_name.clone()));
|
||||
let draft = input_draft.clone();
|
||||
let draft = *input_draft;
|
||||
Release {
|
||||
tag_name,
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue