File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -367,25 +367,31 @@ jobs:
367
367
mv newview/viewer_version.txt macOS-viewer_version.txt
368
368
369
369
# forked from softprops/action-gh-release
370
- - uses : secondlife-3p/action-gh-release@v1
370
+ - name : Create GitHub release
371
+ id : release
372
+ uses : secondlife-3p/action-gh-release@feat/add-generateReleaseNotes
371
373
with :
372
- # name the release page for the build number so we can find it
373
- # easily (analogous to looking up a codeticket build page)
374
- name : " v${{ github.run_id }}"
374
+ # name the release page for the branch
375
+ name : " ${{ needs.build.outputs.viewer_branch }}"
375
376
# SL-20546: want the channel and version to be visible on the
376
377
# release page
377
378
body : |
379
+ Build ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
378
380
${{ needs.build.outputs.viewer_channel }}
379
381
${{ needs.build.outputs.viewer_version }}
380
- ${{ needs.build.outputs.viewer_branch }}
381
382
${{ needs.build.outputs.relnotes }}
382
383
prerelease : true
383
384
generate_release_notes : true
385
+ target_commitish : ${{ github.sha }}
386
+ previous_tag : release
384
387
append_body : true
385
- # the only reason we generate a GH release is to post build products
386
388
fail_on_unmatched_files : true
387
389
files : |
388
390
*.dmg
389
391
*.exe
390
392
*-autobuild-package.xml
391
393
*-viewer_version.txt
394
+
395
+ - name : post release URL
396
+ run : |
397
+ echo "::notice::Release ${{ steps.release.outputs.url }}"
You can’t perform that action at this time.
0 commit comments