no log: trying again to fix git issue in release pipelines.

pull/2208/head
morpheus65535 10 months ago
parent 1c2d080b02
commit 897d90e96a

@ -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... ****"

@ -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:

Loading…
Cancel
Save