# ============LICENSE_START================================================
# ONAP
# =========================================================================
-# Copyright (C) 2021 Nordix Foundation.
+# Copyright (C) 2021-2022 Nordix Foundation.
# =========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ============LICENSE_END==================================================
#
+set -e
+
SCRIPT_NAME=`basename $0`
repo_location="./"
commit_msg_temp_file=$(mktemp)
echo "$commit_header" > $commit_msg_temp_file
echo "" >> $commit_msg_temp_file
- echo "*** This commit is generated by a PF release script ***" >> $commit_msg_temp_file
- echo "" >> $commit_msg_temp_file
echo "$commit_message" >> $commit_msg_temp_file
echo "" >> $commit_msg_temp_file
+ echo "*** This commit is generated by a PF release script ***" >> $commit_msg_temp_file
+ echo "" >> $commit_msg_temp_file
echo "Issue-ID: $issue_id" >> $commit_msg_temp_file
git -C $repo_location/$specified_repo add .