From d31dd61b1bf31af028127eb59eb4788010624800 Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Wed, 1 Apr 2020 19:54:48 -0400 Subject: [PATCH] Ignore CHANGELOG.md while generating changelogs I heard you liked changelogs, so I put a changelog in your changelog... or something. How meta. Signed-off-by: AJ Jordan --- scripts/buildDev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildDev b/scripts/buildDev index 78ec7b557d..8a4d8f673b 100755 --- a/scripts/buildDev +++ b/scripts/buildDev @@ -44,7 +44,7 @@ lastBuildTag=$(git tag | grep dev | tail -n1) # * Commits touching only non-user-facing stuff like tests # * Version bump commits # * Anything reachable from the previous dev edition tag -changelog=$(git log --no-merges --invert-grep --author=dependabot --pretty='format:%s' HEAD "^$lastBuildTag" -- ':!src/androidTest' ':!.*' ':!scripts/' ':!screenshots' | grep -vE '^daily dev [[:digit:]]{8}$') +changelog=$(git log --no-merges --invert-grep --author=dependabot --pretty='format:%s' HEAD "^$lastBuildTag" -- ':!src/androidTest' ':!.*' ':!scripts/' ':!screenshots' ':!CHANGELOG.md' | grep -vE '^daily dev [[:digit:]]{8}$') # Make Transifex updates have a nicer description if echo "$changelog" | grep -q 'tx-robot'; then changelog=$(echo "$changelog" | grep -v 'tx-robot')