From 66238abd3512ea9895cda032acabff9c32666d1a Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Wed, 23 Feb 2022 21:41:36 +0100 Subject: [PATCH] Minor deployment improvements --- ci-scripts/deploy.sh | 2 +- ci-scripts/genrelnotes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/deploy.sh b/ci-scripts/deploy.sh index 0bedf45b21..4b052d021f 100755 --- a/ci-scripts/deploy.sh +++ b/ci-scripts/deploy.sh @@ -47,7 +47,7 @@ cd $tmpdir git clone https://${_gh_creds_prefix}github.com/eth-cscs/reframe.git cd reframe ./bootstrap.sh -found_version=$(./bin/reframe -V | sed -e 's/ (.*)//g') +found_version=$(./bin/reframe -V | sed -e 's/\(.*\)\+.*/\1/g') if [ $found_version != $version ]; then echo "$0: version mismatch: found $found_version, but required $version" >&2 exit 1 diff --git a/ci-scripts/genrelnotes.py b/ci-scripts/genrelnotes.py index b6ec95b344..a3dfd6cbc9 100755 --- a/ci-scripts/genrelnotes.py +++ b/ci-scripts/genrelnotes.py @@ -52,7 +52,7 @@ def extract_release_notes(git_output, tag): descr_line = '- %s (%s)' % (descr, pr) sections[title_line].append(descr_line) - print('# ReFrame %s Release Notes' % curr_release) + print('# Release Notes') for sec_title, sec_lines in sections.items(): print() print(sec_title)