Sfoglia il codice sorgente

Merge pull request #5791 from nextcloud/ignore-changelog-in-changelogs

Ignore CHANGELOG.md while generating changelogs
Tobias Kaminsky 5 anni fa
parent
commit
92d69de551
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      scripts/buildDev

+ 1 - 1
scripts/buildDev

@@ -44,7 +44,7 @@ lastBuildTag=$(git tag | grep dev | tail -n1)
 #  * Commits touching only non-user-facing stuff like tests
 #  * Commits touching only non-user-facing stuff like tests
 #  * Version bump commits
 #  * Version bump commits
 #  * Anything reachable from the previous dev edition tag
 #  * 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
 # Make Transifex updates have a nicer description
 if echo "$changelog" | grep -q 'tx-robot'; then
 if echo "$changelog" | grep -q 'tx-robot'; then
 	changelog=$(echo "$changelog" | grep -v 'tx-robot')
 	changelog=$(echo "$changelog" | grep -v 'tx-robot')