File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 4949 bungee/build/libs/connect-bungee.jar
5050 LICENSE
5151
52+ # Also update "latest" release with stable file names for download sites
53+ - name : Update Latest Release
54+ if : github.event_name == 'release'
55+ uses : softprops/action-gh-release@v1
56+ with :
57+ tag_name : latest
58+ name : " Latest Release (${{ github.ref_name }})"
59+ prerelease : false
60+ files : |
61+ spigot/build/libs/connect-spigot.jar
62+ velocity/build/libs/connect-velocity.jar
63+ bungee/build/libs/connect-bungee.jar
64+ LICENSE
65+ body : |
66+ Latest stable release.
67+
68+ **Version:** ${{ github.ref_name }}
69+
70+ Download links (stable URLs):
71+ - [connect-spigot.jar](https://github.com/${{ github.repository }}/releases/download/latest/connect-spigot.jar)
72+ - [connect-velocity.jar](https://github.com/${{ github.repository }}/releases/download/latest/connect-velocity.jar)
73+ - [connect-bungee.jar](https://github.com/${{ github.repository }}/releases/download/latest/connect-bungee.jar)
74+
5275 # For branch push: create/update pre-release
5376 - name : Prepare Pre-Release Artifacts
5477 if : github.event_name == 'push'
You can’t perform that action at this time.
0 commit comments