Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ Install the pinned shared plugin dependencies, download the private build
inputs, then run the build with Java 21. In Bash:

```bash
python3 path/to/TLibs/tools/install-plugins.py --pom pom.xml --mode pinned
read -rsp 'ServerAssets token: ' token && echo
GH_TOKEN="$token" bash .github/scripts/prepare-release.sh; unset token
mvn clean verify
python3 path/to/TLibs/tools/install-plugins.py --pom pom.xml --mode pinned &&
(read -rsp 'ServerAssets token: ' GH_TOKEN && echo && export GH_TOKEN &&
bash .github/scripts/prepare-release.sh) &&
Comment thread
ryanbarlow97 marked this conversation as resolved.
mvn clean verify
```

Point the installer at your TLibs checkout. The token needs Contents read access
to TF-Minecraft/ServerAssets. The prompt keeps it out of shell history, and only
the download script receives it. CI supplies it from `DEPS_TOKEN`.
The installer comes from a separate TLibs checkout
(`git clone https://github.com/TF-Minecraft/TLibs.git`); point `path/to/TLibs` at it. The token needs Contents read access
to TF-Minecraft/ServerAssets. The prompt keeps it out of shell history, the
subshell keeps it out of your session and Maven, and Maven only runs if both
preparation steps succeed. CI supplies it from `DEPS_TOKEN`.

Tests use JUnit and Mockito and run without a live Minecraft server.

Expand Down