From e4416925f9b4d1deac521c62918d008076ac6b05 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 3 Dec 2021 02:16:27 -0500 Subject: add build script to set the release version --- docs/technical/smapi.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'docs/technical/smapi.md') diff --git a/docs/technical/smapi.md b/docs/technical/smapi.md index ce1220f1..f2e030d8 100644 --- a/docs/technical/smapi.md +++ b/docs/technical/smapi.md @@ -116,16 +116,15 @@ To launch the game: 2. Launch the game through the Steam UI. #### Prepare the release -1. Update the version numbers in `build/common.targets`, `Constants`, and the `manifest.json` for - bundled mods. Make sure you use a [semantic version](https://semver.org). Recommended format: +1. Run `build/set-smapi-version.sh` to set the SMAPI version. Make sure you use a [semantic + version](https://semver.org). Recommended format: build type | format | example :--------- | :----------------------- | :------ - dev build | `-alpha.` | `3.0.0-alpha.20171230` - prerelease | `-beta.` | `3.0.0-beta.20171230` - release | `` | `3.0.0` -2. Run the `build/prepare-install-package.sh` script. This will create the release package in the - root `bin` folder. + dev build | `-alpha.` | `4.0.0-alpha.20251230` + prerelease | `-beta.` | `4.0.0-beta.20251230` + release | `` | `4.0.0` +2. Run `build/prepare-install-package.sh` to create the release package in the root `bin` folder. ### Custom Harmony build SMAPI uses [a custom build of Harmony](https://github.com/Pathoschild/Harmony#readme), which is -- cgit