mirror of https://github.com/morpheus65535/bazarr
no log: Improved release exclude regex that could be fixing empty changes log issue.
This commit is contained in:
parent
cb623c3c26
commit
f125845fcd
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"template": "./changelog-dev.hbs",
|
||||
"ignoreCommitPattern": "^(Release|no log:).*",
|
||||
"ignoreCommitPattern": "^(Release|no log:|Merge.remote-tracking).*",
|
||||
"sortCommits": "date-desc"
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue