fix(release): validate explicit versions and drop duplicate comparators
Review findings on #7586: - validate an explicit release version before comparing; the shared comparator never throws, so 999.bad previously reached every manifest - ci-release-notes imports the comparator by relative path: the release_github job runs without bun install - route Bun cache pruning through compareVersions and delete compareSemverLikeVersions - regression test for the release-version guard
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
* underneath; this only adds curated context.
|
||||
*/
|
||||
|
||||
import { compareVersions } from "@oh-my-pi/pi-utils";
|
||||
import { $, Glob } from "bun";
|
||||
import { compareVersions } from "../packages/utils/src/version";
|
||||
|
||||
const changelogGlob = new Glob("packages/*/CHANGELOG.md");
|
||||
const REPO = process.env.OMP_REPO ?? process.env.GITHUB_REPOSITORY ?? "can1357/oh-my-pi";
|
||||
|
||||
Reference in New Issue
Block a user