mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-12-28 18:41:20 +08:00
no log: prevent generation of empty release/changes log
This commit is contained in:
parent
c785cdfa71
commit
532c0cf8cf
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release_beta_to_dev.yaml
vendored
2
.github/workflows/release_beta_to_dev.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue