strip prefix in release name

This commit is contained in:
softprops 2019-08-25 14:48:05 -04:00
parent d072f41760
commit 061d1abd40

View File

@ -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()
} }