mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-02-13 17:10:08 +00:00
Cleaner pre-release messages (#1096)
Instead of showing all the content and just the latest commit, it will show the link to all the changes between the latest release and the pre-release
This commit is contained in:
parent
938b9b9826
commit
75166ecd2a
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -402,6 +402,15 @@ jobs:
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- name: Get latest release information
|
||||||
|
id: get_latest_release
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.SHADPS4_TOKEN_REPO }}
|
||||||
|
run: |
|
||||||
|
api_url="https://api.github.com/repos/${{ github.repository }}"
|
||||||
|
latest_release_info=$(curl -H "Authorization: token $GITHUB_TOKEN" "$api_url/releases/latest")
|
||||||
|
echo "last_release_tag=$(echo "$latest_release_info" | jq -r '.tag_name')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Pre-Release on GitHub
|
- name: Create Pre-Release on GitHub
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
@ -411,8 +420,8 @@ jobs:
|
||||||
tag: "Pre-release-shadPS4-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}"
|
tag: "Pre-release-shadPS4-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}"
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
artifacts: |
|
body: "Full Changelog: [${{ env.last_release_tag }}...${{ needs.get-info.outputs.shorthash }}](https://github.com/shadps4-emu/shadPS4/compare/${{ env.last_release_tag }}...${{ needs.get-info.outputs.shorthash }})"
|
||||||
./artifacts/*.zip
|
artifacts: ./artifacts/*.zip
|
||||||
|
|
||||||
- name: Get current pre-release information
|
- name: Get current pre-release information
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue