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

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

@ -63,8 +63,8 @@ jobs:
- name: Create Release (Conditional) - name: Create Release (Conditional)
if: ${{ steps.check-ci.outputs.conclusion == 'success' }} if: ${{ steps.check-ci.outputs.conclusion == 'success' }}
run: | run: |
git config user.name "${GITHUB_ACTOR}" git config user.name "${{GITHUB_ACTOR}}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" 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) 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 if [[ $revision_count != 0 ]]; then
echo "**** Found $revision_count changes! Releasing... ****" echo "**** Found $revision_count changes! Releasing... ****"

@ -55,8 +55,8 @@ jobs:
- name: Create Release - name: Create Release
run: | run: |
git config user.name "${GITHUB_ACTOR}" git config user.name "${{GITHUB_ACTOR}}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git config user.email "${{GITHUB_ACTOR}}@users.noreply.github.com"
export RELEASE_MASTER=1 export RELEASE_MASTER=1
release-it --ci --increment ${{ github.event.inputs.increment }} release-it --ci --increment ${{ github.event.inputs.increment }}
Merge: Merge:

Loading…
Cancel
Save