1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-21 23:32:31 +00:00

no log: Improved release exclude regex that could be fixing empty changes log issue.

This commit is contained in:
morpheus65535 2021-07-01 07:53:03 -04:00
parent cb623c3c26
commit f125845fcd
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"template": "./changelog-dev.hbs",
"ignoreCommitPattern": "^(Release|no log:).*",
"ignoreCommitPattern": "^(Release|no log:|Merge.remote-tracking).*",
"sortCommits": "date-desc"
}

View file

@ -63,7 +63,7 @@ jobs:
- name: Create Release (Conditional)
if: ${{ steps.check-ci.outputs.conclusion == 'success' }}
run: |
revision_count=$(git rev-list --invert-grep --regexp-ignore-case --extended-regexp --grep="^(Release|no log:).*" $(git describe --tags --abbrev=0)..HEAD --count)
revision_count=$(git rev-list --invert-grep --regexp-ignore-case --extended-regexp --grep="^(Release|no log:|Merge.remote-tracking).*" $(git describe --tags --abbrev=0)..HEAD --count)
if [[ $revision_count != 0 ]]; then
echo "**** Found $revision_count changes! Releasing... ****"
release-it --ci --increment prerelease --preRelease=beta