Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion ci-scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ oldpwd=$(pwd)
usage()
{
echo "Usage: $0 VERSION"
echo " Environment:"
echo " - GH_DEPLOY_CREDENTIALS=<user>:<token>"
}

_onerror()
Expand All @@ -31,11 +33,18 @@ if [ $py_minor_version -lt 5 ]; then
exit 1
fi

if [ -z "$GH_DEPLOY_CREDENTIALS" ]; then
_gh_creds_prefix=""
else
_gh_creds_prefix="${GH_DEPLOY_CREDENTIALS}@"
fi


tmpdir=$(mktemp -d)
echo "Deploying ReFrame version $version ..."
echo "Working directory: $tmpdir ..."
cd $tmpdir
git clone https://github.com/eth-cscs/reframe.git
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')
Expand Down
4 changes: 2 additions & 2 deletions ci-scripts/genrelnotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ def extract_release_notes(git_output, tag):
titles = {
'feat': '## New features and enhancements',
'bugfix': '## Bug fixes',
'test': '## Regression tests'
'testlib': '## Test library'
}
sections = collections.OrderedDict()
for tag in ['feat', 'bugfix', 'test', 'ci', 'doc']:
for tag in ['feat', 'bugfix', 'testlib', 'ci', 'doc']:
title_line = titles.get(tag, '## Other')
sections.setdefault(title_line, [])
for pr, descr in extract_release_notes(completed.stdout, tag):
Expand Down