Leverage action-gh-release's new previous_tag input.

This should (!) allow us to generate full release notes relative to the
previous viewer release, instead of letting action-gh-release guess
incorrectly.

Also try again to add to the release page a back-link to the specific build.
master
Nat Goodspeed 2024-02-26 15:51:31 -05:00
parent 4edd78f2e5
commit 88ebb92f05
1 changed files with 3 additions and 2 deletions

View File

@ -369,20 +369,21 @@ jobs:
# forked from softprops/action-gh-release
- name: Create GitHub release
id: release
uses: secondlife-3p/action-gh-release@v1
uses: secondlife-3p/action-gh-release@feat/add-generateReleaseNotes
with:
# name the release page for the branch
name: "${{ needs.build.outputs.viewer_branch }}"
# SL-20546: want the channel and version to be visible on the
# release page
body: |
Build ${{ github.repositoryUrl }}/actions/runs/${{ github.run_id }}
Build ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
${{ needs.build.outputs.viewer_channel }}
${{ needs.build.outputs.viewer_version }}
${{ needs.build.outputs.relnotes }}
prerelease: true
generate_release_notes: true
target_commitish: ${{ github.sha }}
previous_tag: 7.1.2-release
append_body: true
fail_on_unmatched_files: true
files: |