mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-24 14:57:16 +08:00
no log: trying again to fix git issue in release pipelines.
This commit is contained in:
parent
714f141cea
commit
1c2d080b02
2 changed files with 4 additions and 2 deletions
3
.github/workflows/release_beta_to_dev.yaml
vendored
3
.github/workflows/release_beta_to_dev.yaml
vendored
|
@ -61,9 +61,10 @@ jobs:
|
|||
branch: development
|
||||
|
||||
- name: Create Release (Conditional)
|
||||
uses: fregante/setup-git-user@v2
|
||||
if: ${{ steps.check-ci.outputs.conclusion == 'success' }}
|
||||
run: |
|
||||
git config user.name "${GITHUB_ACTOR}"
|
||||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
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... ****"
|
||||
|
|
3
.github/workflows/release_dev_to_master.yaml
vendored
3
.github/workflows/release_dev_to_master.yaml
vendored
|
@ -54,8 +54,9 @@ jobs:
|
|||
working-directory: ${{ env.UI_DIRECTORY }}
|
||||
|
||||
- name: Create Release
|
||||
uses: fregante/setup-git-user@v2
|
||||
run: |
|
||||
git config user.name "${GITHUB_ACTOR}"
|
||||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
export RELEASE_MASTER=1
|
||||
release-it --ci --increment ${{ github.event.inputs.increment }}
|
||||
Merge:
|
||||
|
|
Loading…
Reference in a new issue