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