#301 ./build.sh && ./preview.sh fails to build
Closed: complete 2 years ago by sumantrom. Opened 2 years ago by sumantrom.

@pbokoc I found a commit where you dropped the version from antora.yml.
Since then every time I am trying to build the docs locally, it throws me..

$ sudo ./build.sh && ./preview.sh
This build script is using Podman to run the build in an isolated environment.
error: antora.yml is missing a version in /antora (ref: main <worktree> | path: docs)
Add the --stacktrace option to see the cause.\

Going to /docs/antora.yml and adding "main" as version fixes and lets me build.

Any idea if this is the right step?


You are most likely using an old version of antora image (< 3.0.0).
Try pulling the latest version and run the build.sh script again.

podman pull docker.io/antora/antora

Also, you should probably not use sudo to run these scripts, unless you're using docker instead of podman.

You are most likely using an old version of antora image (< 3.0.0).
Try pulling the latest version and run the build.sh script again.
podman pull docker.io/antora/antora
Also, you should probably not use sudo to run these scripts, unless you're using docker instead of podman.

worked fine. Thanks :)

Metadata Update from @sumantrom:
- Issue close_status updated to: complete
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata