summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2024-02-27 10:15:18 -0500
committerGitHub <noreply@github.com>2024-02-27 10:15:18 -0500
commit77b51cf953969789820c96ae32c7738081b9a8d0 (patch)
tree4d7f66eb4f208dfa48195f02f17a2c7f29f1d78e
parent563c35e1b4e5e0a1cd34dc92da917500f8a3d172 (diff)
parent27b298d8bc720ff315c8e74cc5bff9ff9ead0552 (diff)
Merge pull request #895 from secondlife/relnotes-w
Generate release notes from tag `release` to the built tag.
-rw-r--r--.github/workflows/build.yaml18
1 files changed, 12 insertions, 6 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1bc74fe084..28310e54e2 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -367,25 +367,31 @@ jobs:
mv newview/viewer_version.txt macOS-viewer_version.txt
# forked from softprops/action-gh-release
- - uses: secondlife-3p/action-gh-release@v1
+ - name: Create GitHub release
+ id: release
+ uses: secondlife-3p/action-gh-release@feat/add-generateReleaseNotes
with:
- # name the release page for the build number so we can find it
- # easily (analogous to looking up a codeticket build page)
- name: "v${{ github.run_id }}"
+ # 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.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
${{ needs.build.outputs.viewer_channel }}
${{ needs.build.outputs.viewer_version }}
- ${{ needs.build.outputs.viewer_branch }}
${{ needs.build.outputs.relnotes }}
prerelease: true
generate_release_notes: true
+ target_commitish: ${{ github.sha }}
+ previous_tag: release
append_body: true
- # the only reason we generate a GH release is to post build products
fail_on_unmatched_files: true
files: |
*.dmg
*.exe
*-autobuild-package.xml
*-viewer_version.txt
+
+ - name: post release URL
+ run: |
+ echo "::notice::Release ${{ steps.release.outputs.url }}"