From 26609725e1f343a56425c3d1e3a5e36f2783d43c Mon Sep 17 00:00:00 2001 From: NeyorDEV <180453958+NeyorDEV@users.noreply.github.com> Date: Wed, 21 Oct 2026 07:23:39 +0000 Subject: [PATCH 1/2] test: check that the current version has release notes, whatever they say The test looked for a phrase from the 0.1.0 notes, so every new release would have broken it. What matters for the release workflow is that the package version has a CHANGELOG section with at least one category. --- test/releaseNotes.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/releaseNotes.test.ts b/test/releaseNotes.test.ts index 9eb7420..f388399 100644 --- a/test/releaseNotes.test.ts +++ b/test/releaseNotes.test.ts @@ -36,6 +36,9 @@ describe('extractReleaseNotes', () => { const pkg = JSON.parse( readFileSync(fileURLToPath(new URL('../package.json', import.meta.url)), 'utf8'), ) as { version: string }; - expect(extractReleaseNotes(real, pkg.version)).toContain('modshift analyze'); + // Sans section pour la version de package.json, le workflow de release échouerait. + const notes = extractReleaseNotes(real, pkg.version); + expect(notes).toBeDefined(); + expect(notes).toMatch(/^### (Added|Changed|Fixed|Security)/m); }); }); From 0ea7344fec2f21c2f67e2e28d8d98c835fa25336 Mon Sep 17 00:00:00 2001 From: NeyorDEV <180453958+NeyorDEV@users.noreply.github.com> Date: Wed, 21 Oct 2026 07:23:39 +0000 Subject: [PATCH 2/2] chore(release): prepare 0.1.1 Ships the fixes found on a real CurseForge pack: resource packs and shaders handled as such, and same-number rebuilds explained. --- CHANGELOG.md | 7 ++++++- docs/cli.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/version.ts | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfe25bf..20e6d76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ All notable changes to ModShift are documented here. The format follows ## [Unreleased] +## [0.1.1] - 2026-10-21 + +Fixes found while testing a real CurseForge pack (SkyBlock Enhanced 5.4.1, Fabric 26.2 → 26.3). + ### Fixed - An update that keeps the same version number (a file rebuilt for the target Minecraft @@ -100,5 +104,6 @@ Found while testing against the real Modrinth API (Fabulously Optimized 1.21.1 by Zoomify's single Fabric + NeoForge file) is no longer reported as missing for the target; a warning explains why it was ignored. -[Unreleased]: https://github.com/NeyorDEV/ModShift/compare/v0.1.0...HEAD +[Unreleased]: https://github.com/NeyorDEV/ModShift/compare/v0.1.1...HEAD +[0.1.1]: https://github.com/NeyorDEV/ModShift/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/NeyorDEV/ModShift/releases/tag/v0.1.0 diff --git a/docs/cli.md b/docs/cli.md index b88c7c3..ddeb85e 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -1,6 +1,6 @@ # Command-line reference -Generated from `modshift --help` (ModShift 0.1.0). Regenerate with +Generated from `modshift --help` (ModShift 0.1.1). Regenerate with `npm run build && npm run docs:cli`. Explanations and examples are in the README. ## `modshift` diff --git a/package-lock.json b/package-lock.json index 0a47841..34a0bf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "modshift", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "modshift", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "dependencies": { "@inquirer/prompts": "8.7.3", diff --git a/package.json b/package.json index 8a0e57c..2c45768 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modshift", - "version": "0.1.0", + "version": "0.1.1", "description": "Migrate a Minecraft modpack to another Minecraft version and/or mod loader (Forge, NeoForge, Fabric, Quilt).", "keywords": [ "minecraft", diff --git a/src/version.ts b/src/version.ts index f44913a..5cf4759 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ // Version de l'outil, utilisée notamment dans l'en-tête User-Agent. -export const MODSHIFT_VERSION = '0.1.0'; +export const MODSHIFT_VERSION = '0.1.1';