mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
update auto_release workflow
This commit is contained in:
parent
06c2a70974
commit
cda1b06cb0
6
.github/workflows/auto_release.yml
vendored
6
.github/workflows/auto_release.yml
vendored
|
@ -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
|
Loading…
Reference in a new issue