From 061d1abd40627a92d27306b09f442793589d42b5 Mon Sep 17 00:00:00 2001 From: softprops Date: Sun, 25 Aug 2019 14:48:05 -0400 Subject: [PATCH] strip prefix in release name --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cbf18c6..01da084 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() }