mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-08-02 19:14:14 +00:00
strip prefix in release name
This commit is contained in:
@@ -27,7 +27,7 @@ fn release(conf: &Config) -> Release {
|
||||
..
|
||||
} = conf;
|
||||
Release {
|
||||
tag_name: github_ref.clone(),
|
||||
tag_name: github_ref.trim_start_matches("refs/tags/").into(),
|
||||
body: input_body.clone(),
|
||||
..Release::default()
|
||||
}
|
||||
|
Reference in New Issue
Block a user