From cda1b06cb080282d3b62e35fcf11cc78e9a03328 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sat, 26 Aug 2023 11:42:09 +0200 Subject: [PATCH] update auto_release workflow --- .github/workflows/auto_release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index cdf7496..ca12090 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -52,7 +52,7 @@ jobs: - name: Get Commit Messages id: commit_messages run: | - MESSAGES=$(git log --pretty=format:"%s" -- "$FOLDER_CHANGED" $(git describe --tags --abbrev=0)..HEAD) + MESSAGES=$(git log --pretty=format:"%s" $(git describe --tags --abbrev=0)..HEAD -- $FOLDER_CHANGED) echo "MESSAGES=$MESSAGES" >> $GITHUB_ENV - name: Create Release @@ -61,8 +61,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ env.FOLDER_CHANGED }}_${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} - release_name: ${{ env.FOLDER_CHANGED }}_${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} + tag_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} + release_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }} body: ${{ env.MESSAGES }} draft: false - prerelease: false \ No newline at end of file + prerelease: false