Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
fix: correct copied dots in ci (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoorn authored Aug 29, 2019
1 parent 9e2577c commit 93e815a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ci-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if [ $changelogaltered -eq 0 ]; then
echo "change log:"
git log ${oldversion}...${newversion} --pretty=%B
lastcommittext=$(git log ${oldversion}...${newversion} --pretty=%B | grep -v '^$' | grep : | true)
if [ "${lastcommittext}" == "" ]; then.
if [ "${lastcommittext}" == "" ]; then
lastcommittext="misc: $(git log ${oldversion}...${newversion} --pretty=%B)"
fi
echo -e "# ${newversion}\n\n${lastcommittext}\n" > CHANGELOG.md.tmp
Expand All @@ -82,7 +82,7 @@ if [ $changelogaltered -eq 0 ]; then
mv CHANGELOG.md.tmp CHANGELOG.md
echo -e "${BENDER_KEY}" >> ~/.ssh/id_bender
chmod 600 ~/.ssh/id_bender
export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_bender -F /dev/null -o IdentitiesOnly=yes".
export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_bender -F /dev/null -o IdentitiesOnly=yes"
git config --global user.name "Bender"
git config --global user.email "bender1729@ixxi.io"
git add CHANGELOG.md
Expand Down

0 comments on commit 93e815a

Please sign in to comment.