diff --git a/.github/workflows/ZeusFiscal_build.yml b/.github/workflows/ZeusFiscal_build.yml index 61cf3bcb..c35c3951 100644 --- a/.github/workflows/ZeusFiscal_build.yml +++ b/.github/workflows/ZeusFiscal_build.yml @@ -155,12 +155,16 @@ jobs: id: release_notes run: | git fetch --tags - PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ || echo "") - if [ -z "$PREV_TAG" ]; then - echo "notes=$(git log --oneline)" >> $GITHUB_OUTPUT - else - echo "notes=$(git log --oneline $PREV_TAG..HEAD)" >> $GITHUB_OUTPUT - fi + PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "") + { + echo "notes<> $GITHUB_OUTPUT - name: Create GitHub Release uses: softprops/action-gh-release@v1