Avoid removing changelog file until the end
Avoids losing a changelog if something else fails.
This commit is contained in:
parent
915a84ee3c
commit
ad8d8cf7a7
|
@ -17,7 +17,6 @@ echo "# Write the changelog below; comments will be ignored" >> ${changelog_file
|
|||
$EDITOR ${changelog_file}
|
||||
|
||||
changelog="$( cat ${changelog_file} | grep -v '^#' | sed 's/^*/ */' )"
|
||||
rm ${changelog_file}
|
||||
|
||||
sed -i "s,version = \"${current_version}\",version = \"${new_version}\"," node-daemon/pvcnoded/Daemon.py
|
||||
sed -i "s,version = \"${current_version}\",version = \"${new_version}\"," node-daemon/pvchealthd/Daemon.py
|
||||
|
@ -53,6 +52,8 @@ git commit -v
|
|||
|
||||
popd &>/dev/null
|
||||
|
||||
rm ${changelog_file}
|
||||
|
||||
echo
|
||||
echo "Release message:"
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue