From 897d90e96a13ee96bf24852ecab72a8f14481bc7 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 23 Jul 2023 10:18:42 -0400 Subject: [PATCH] no log: trying again to fix git issue in release pipelines. --- .github/workflows/release_beta_to_dev.yaml | 4 ++-- .github/workflows/release_dev_to_master.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml index 141549e1a..ea0c501b0 100644 --- a/.github/workflows/release_beta_to_dev.yaml +++ b/.github/workflows/release_beta_to_dev.yaml @@ -63,8 +63,8 @@ jobs: - name: Create Release (Conditional) if: ${{ steps.check-ci.outputs.conclusion == 'success' }} run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + 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... ****" diff --git a/.github/workflows/release_dev_to_master.yaml b/.github/workflows/release_dev_to_master.yaml index e9f83ed2a..91bd102c0 100644 --- a/.github/workflows/release_dev_to_master.yaml +++ b/.github/workflows/release_dev_to_master.yaml @@ -55,8 +55,8 @@ jobs: - name: Create Release run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + 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: