diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index bc232400d..d1b8b71a8 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -108,6 +108,7 @@ jobs: uses: softprops/action-gh-release@v3 with: tag_name: ${{ env.TAG_NAME }} + target_commitish: ${{ github.sha }} name: 'Clash Verge Rev ${{ env.TAG_CHANNEL }}' body_path: release.txt prerelease: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f4bec14b..31d5bbb8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,7 @@ jobs: uses: softprops/action-gh-release@v3 with: tag_name: ${{ github.ref_name }} + target_commitish: ${{ github.sha }} name: 'Clash Verge Rev ${{ github.ref_name }}' body: 'Draft release, will be updated later.' token: ${{ secrets.GITHUB_TOKEN }}