You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci:prepare fails: _get:docsy derives a Go module query from the npm version field #520
_get:docsy runs hugo mod get github.com/docsy/docsy/theme@v$npm_package_version, but the version field carries build metadata (0.17.1-dev+NNN-over-main-HASH), which is not a Go module revision. Go rejects it (invalid version: unknown revision theme/v0.17.1-dev+...), so npm run ci:prepare and ci:test exit 1.
Fix direction: have ci:prepare trust the pin already in go.mod (hugo mod graph && hugo mod tidy, dropping _get:docsy), or derive the @ query from go.mod rather than from the npm version.
_get:docsyrunshugo mod get github.com/docsy/docsy/theme@v$npm_package_version, but theversionfield carries build metadata (0.17.1-dev+NNN-over-main-HASH), which is not a Go module revision. Go rejects it (invalid version: unknown revision theme/v0.17.1-dev+...), sonpm run ci:prepareandci:testexit 1.mainbefore Upgrade Docsy to the 0.18.0 pre-release and Hugo 0.166.0 #519); not on a live path:.github/workflows/links.yamlnever callsci:prepare, andupdate:docsy:*don't interpolate the version.ci:preparetrust the pin already ingo.mod(hugo mod graph && hugo mod tidy, dropping_get:docsy), or derive the@query fromgo.modrather than from the npm version.Found during the review of #519.