forked from mirrors/action-gh-release
strip prefix in release name
This commit is contained in:
parent
d072f41760
commit
061d1abd40
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ fn release(conf: &Config) -> Release {
|
||||||
..
|
..
|
||||||
} = conf;
|
} = conf;
|
||||||
Release {
|
Release {
|
||||||
tag_name: github_ref.clone(),
|
tag_name: github_ref.trim_start_matches("refs/tags/").into(),
|
||||||
body: input_body.clone(),
|
body: input_body.clone(),
|
||||||
..Release::default()
|
..Release::default()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue