Add CI pipeline: automated builds and releases for versioned tags.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8fdd1b9b03
commit
e1094d96a2
4 files changed
+264
-2
No files matched your search
@@ -18,8 +18,18 @@ Players keep the official, unmodified client; the mod runs on the server only.
|
||||
|
||||
## Installation
|
||||
|
||||
1. Unpack `lua_mod_automator-<version>.zip` into `<forge>/mods/`, which gives
|
||||
`<forge>/mods/lua_mod_automator/`.
|
||||
1. Download the newest release and unpack it into `<forge>/mods/`, which gives
|
||||
`<forge>/mods/lua_mod_automator/`:
|
||||
|
||||
```shell
|
||||
curl --fail --location --output lua_mod_automator.zip \
|
||||
https://git.security-command.org/Overlord/LuaModAutomator/releases/download/latest/lua_mod_automator.zip
|
||||
unzip -o lua_mod_automator.zip -d <forge>/mods/
|
||||
```
|
||||
|
||||
Every release also carries `lua_mod_automator-<version>.zip` for a fixed version. To update,
|
||||
remove `lua_mod_automator.jar` and `lib/` from the mod's folder first and unpack the new zip;
|
||||
`config.toml` is not part of the zip and stays.
|
||||
2. Create `<forge>/mods/lua_mod_automator/config.toml` with at least the collection:
|
||||
|
||||
```toml
|
||||
@@ -152,6 +162,10 @@ is idle. To try it with a collection, copy `build/mod/lua_mod_automator/` into a
|
||||
directory (or set `zomboidForge.deployDirectory` and run `./gradlew deployMod`) and add a
|
||||
`config.toml` there.
|
||||
|
||||
Pushing a tag `v<version>` that matches `version` in `build.gradle.kts` builds the mod and
|
||||
publishes it as a release (`.gitea/workflows/release.yml`, `ci/release.sh`). Tags containing
|
||||
`-` (e.g. `v0.2.0-rc.1`) are built and tested but not released.
|
||||
|
||||
## License
|
||||
|
||||
[GNU Affero General Public License v3.0](LICENSE)
|
||||
Reference in new issue
Block a user