chore: better workflow

This commit is contained in:
metacubex 2023-02-27 23:02:45 +08:00
parent ecb2a5f3c6
commit e3e0e9796b

View file

@ -221,6 +221,10 @@ jobs:
tag: Prerelease-${{ github.ref_name }} tag: Prerelease-${{ github.ref_name }}
deleteOnlyFromDrafts: false deleteOnlyFromDrafts: false
- name: Set Env
run: echo "BUILDTIME=$(date -u)" >> $GITHUB_ENV
shell: bash
- name: Tag Repo - name: Tag Repo
uses: richardsimko/update-tag@v1.0.6 uses: richardsimko/update-tag@v1.0.6
with: with:
@ -237,6 +241,10 @@ jobs:
files: bin/* files: bin/*
prerelease: true prerelease: true
generate_release_notes: true generate_release_notes: true
body: |
Release created at ${{ env.BUILDTIME }}
Synchronize ${{ github.ref_name }} branch code updates, keeping only the latest version
<br>
Upload-Release: Upload-Release:
permissions: write-all permissions: write-all