Skip to content

Проверять, что версия на Modrinth действительно устанавливается - #39

Merged
KoSHeroff merged 1 commit into
mainfrom
fix/modrinth-publish-verification
Sep 9, 2026
Merged

KoSHeroff merged 1 commit into
mainfrom
fix/modrinth-publish-verification

Conversation

@KoSHeroff

Copy link
Copy Markdown
Member

Три Fabric-версии 1.8.0 создались на Modrinth без файла, без загрузчика и без игровой версии — а релиз при этом получил тег: проверка сверяла только имена версий, а они все были на месте. Установить 1.8.0 на Fabric с Modrinth сейчас нельзя.

Что здесь

  • Проверка требует у каждой версии файл, загрузчик и игровую версию, и печатает, у каких именно чего не хватает. Прогнанная против текущего состояния Modrinth, она даёт:

    ok: 1.8.0+mc1.21.1-neoforge … ok: 1.8.0+mc26.2-neoforge
    BROKEN: 1.8.0+mc1.20.1-fabric: no file, loaders=[], game_versions=[]
    BROKEN: 1.8.0+mc1.21.1-fabric: no file, loaders=[], game_versions=[]
    BROKEN: 1.8.0+mc1.21.11-fabric: game_versions=[]
    
  • Fabric больше не объявляет Rinku. В jar он вложен, скачивать отдельно нечего, а rinku(embedded) — единственное, что было общего у трёх сломанных версий и чего не было в здоровом релизе 1.7.0. NeoForge по-прежнему объявляет required, там он действительно нужен отдельно.

  • force_publish и only для ручного запуска: выложить ту же версию заново после удаления битых записей, по одному загрузчику, не создавая дубликатов и не трогая существующий тег.

Как починить 1.8.0 после мержа

  1. Удалить на Modrinth три версии: 1.8.0+mc1.20.1-fabric, 1.8.0+mc1.21.1-fabric, 1.8.0+mc1.21.11-fabric.
  2. Запустить этот workflow вручную с force_publish = true и only = fabric.

Three Fabric versions of 1.8.0 were created with no file, no loader and no
game version, and the release was tagged over it: the check only compared
version names, which were all there. It now requires each version to have
its file, its loader and its game version, and says which ones do not.

Fabric no longer declares Rinku at all. The jar embeds it, so there is
nothing for a launcher to fetch, and declaring it embedded is what those
three versions had in common. NeoForge still declares it required, where
it does have to be installed.

Adds force_publish and only, so a version that went out wrong can be
published again after the bad entries are deleted, one loader at a time,
without duplicating the versions that came out fine and without touching
an existing tag.
@KoSHeroff KoSHeroff self-assigned this Sep 9, 2026
@KoSHeroff
KoSHeroff merged commit 5c87f5d into main Sep 9, 2026
8 checks passed
@KoSHeroff
KoSHeroff deleted the fix/modrinth-publish-verification branch September 9, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant