update auto_release workflow

This commit is contained in:
Gerrit Gogel 2023-08-26 11:42:09 +02:00
parent 06c2a70974
commit cda1b06cb0

View file

@ -52,7 +52,7 @@ jobs:
- name: Get Commit Messages - name: Get Commit Messages
id: commit_messages id: commit_messages
run: | 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 echo "MESSAGES=$MESSAGES" >> $GITHUB_ENV
- name: Create Release - name: Create Release
@ -61,8 +61,8 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_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 }} release_name: ${{ env.FOLDER_CHANGED }}-${{ env.SEAFILE_VERSION }}_${{ env.NEXT_BUILD }}
body: ${{ env.MESSAGES }} body: ${{ env.MESSAGES }}
draft: false draft: false
prerelease: false prerelease: false