From: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> For rc releases, the filename generated for the incremental release ends with -rt{new_tag_rt}-rc{new_tag_rc}.patch.xz rather than just -rt{new_tag_rt}.patch.xz, so we need to make new_tag_rc available for that. Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> --- srt_announce.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srt_announce.py b/srt_announce.py index a1985cd..cbaa3f3 100644 --- a/srt_announce.py +++ b/srt_announce.py @@ -55,7 +55,8 @@ def cover_letter_replacements(config, ctx): "new_version" : ctx.new_short_tag, "old_version" : ctx.old_short_tag, "prj_dir" : config['PRJ_DIR'], - "new_tag_rt" : ctx.new_tag.rt } + "new_tag_rt" : ctx.new_tag.rt, + "new_tag_rc" : ctx.new_tag.rc } return r def write_rc_cover_letter(config, ctx): -- 2.14.1