This commit is contained in:
parent
894da51993
commit
c040c73451
@ -91,12 +91,15 @@ jobs:
|
||||
fi
|
||||
echo "previous_tag=$PREVIOUS_TAG" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: 创建Gitea发布
|
||||
- name: 获取提交记录
|
||||
id: get-commit-log
|
||||
uses: https://gitea.com/actions/gitea-release-action@main
|
||||
run: |
|
||||
COMMIT_LOG=$(git log ${{ steps.get-previous-tag.outputs.previous_tag }}..HEAD --pretty=format:"- %s (%h)" | tr '\n' '\r')
|
||||
echo "commit_log=$COMMIT_LOG"
|
||||
echo "commit_log=$COMMIT_LOG" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: 创建Gitea发布
|
||||
uses: https://gitea.com/actions/gitea-release-action@main
|
||||
with:
|
||||
gitea_token: ${{ secrets.AUTOGENERATE }}
|
||||
gitea_instance_url: ${{ github.server_url }}
|
||||
|
Loading…
Reference in New Issue
Block a user