diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 14168425..0429738e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -31,9 +31,6 @@ builds: goarch: - amd64 - arm64 - ignore: - - goos: windows - goarch: arm64 archives: - id: civitai diff --git a/go.mod b/go.mod index d3c5ebb0..08fd2d7b 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/civitai/cli go 1.25.0 +toolchain go1.25.12 + require ( github.com/charmbracelet/bubbles v1.0.0 github.com/charmbracelet/bubbletea v1.3.10 diff --git a/npm/lib/install.js b/npm/lib/install.js index 97ad0173..8bafb106 100644 --- a/npm/lib/install.js +++ b/npm/lib/install.js @@ -23,8 +23,10 @@ const BINARIES_DIR = path.join(__dirname, "binaries"); const OS_MAP = { linux: "linux", darwin: "darwin", win32: "windows" }; const ARCH_MAP = { x64: "amd64", arm64: "arm64" }; -// Combos GoReleaser does NOT build (see .goreleaser.yaml `ignore:`). -const UNSUPPORTED = new Set(["windows/arm64"]); +// Combos GoReleaser does NOT build (keep in sync with .goreleaser.yaml). All +// OS_MAPĂ—ARCH_MAP combos are now built (windows/arm64 enabled), so this is empty; +// re-add an entry here if a target is ever dropped from the release matrix. +const UNSUPPORTED = new Set([]); function target() { const goos = OS_MAP[process.platform];