ITADN

feat: list of available versions api to support ranges

#1501ClosedAlexProgrammerDE 创建于 2025-07-03
1. feature1. api
### Is your feature request related to a problem? Right now there is no way to fetch supported versions on hangar for platforms like velocity/paper/waterfall and do matching on them in the release action like >= 1.7.10 rather than specifying 1.7.10-[whatever is latest atm] ### Describe the solution you'd like. I'd like to be able to specify >= 1.7.10 when releasing my plugin to hangar. There should be some mechanism in place so the ci client can fetch a list of supported versions on hangar and then do matching like >= 1.7.10 client-side. Then cool things like this can be done: https://github.com/SkinsRestorer/SkinsRestorer/blob/dev/.github%2Fworkflows%2Frelease.yml#L172 Right now the process is annoying that you manually have to bump this: https://github.com/SkinsRestorer/SkinsRestorer/blob/dev/gradle.properties#L13-L15 ### Describe alternatives you've considered. 1. Manually specifying supported version, awful experience. I forget to bump it all the time atm. ### Other The idea is not to have it always be latest. Only be latest at the moment. Old builds with >= 1.7.10 should only show they support versions >= 1.7.10 when they were published.
关闭于 2025-11-16 2 条评论