diff options
author | morpheus65535 <[email protected]> | 2021-06-19 09:41:48 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-06-19 09:41:48 -0400 |
commit | 532c0cf8cfced659c5bdeb4206cc4c5d9f84d091 (patch) | |
tree | 97f450c790e17575bac2bdf9406166ab586ee74e | |
parent | c785cdfa71085ea46476885709d77a83e4d3ea8b (diff) | |
download | bazarr-532c0cf8cfced659c5bdeb4206cc4c5d9f84d091.tar.gz bazarr-532c0cf8cfced659c5bdeb4206cc4c5d9f84d091.zip |
no log: prevent generation of empty release/changes log
-rw-r--r-- | .github/workflows/release_beta_to_dev.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml index 71ebd5c7f..a24dbecef 100644 --- a/.github/workflows/release_beta_to_dev.yaml +++ b/.github/workflows/release_beta_to_dev.yaml @@ -52,7 +52,7 @@ jobs: - name: Create Release (Conditional) run: | - revision_count=$(git rev-list $(git describe --tags --abbrev=0)..HEAD --count) + revision_count=$(git rev-list --invert-grep --regexp-ignore-case --extended-regexp --grep="^(Release|no log:).*" $(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 |