Skip to content

Commit 778602f

Browse files
committed
README: Switch blocks to fenced style
1 parent d2a64f3 commit 778602f

File tree

1 file changed

+31
-25
lines changed

1 file changed

+31
-25
lines changed

README.md

+31-25
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ __release.sh__ uses the TOC file to determine the package name for the project.
3434
You can also set the CurseForge project id (`-p`), the WoWInterface addon
3535
id (`-w`) or the Wago project id (`-a`) by adding the following to the TOC file:
3636

37-
## X-Curse-Project-ID: 1234
38-
## X-WoWI-ID: 5678
39-
## X-Wago-ID: he54k6bL
37+
```toc
38+
## X-Curse-Project-ID: 1234
39+
## X-WoWI-ID: 5678
40+
## X-Wago-ID: he54k6bL
41+
```
4042

4143
Your CurseForge project id can be found on the addon page in the "About Project"
4244
side box.
@@ -219,10 +221,12 @@ multiple `## Interface-Type:` lines in your TOC file. Only one `## Interface:`
219221
line will be included in the packaged TOC file based on the targeted game
220222
version.
221223

222-
## Interface: 90005
223-
## Interface-Retail: 90005
224-
## Interface-Classic: 11306
225-
## Interface-BC: 20501
224+
```toc
225+
## Interface: 90005
226+
## Interface-Retail: 90005
227+
## Interface-Classic: 11306
228+
## Interface-BC: 20501
229+
```
226230

227231
You specify what version of the game you're targeting with the `-g` switch. You
228232
can use a specific version (`release.sh -g 1.13.6`) or you can use the game type
@@ -251,24 +255,26 @@ The recommended way to include __release.sh__ in a project is to:
251255

252256
## Usage
253257

254-
Usage: release.sh [options]
255-
-c Skip copying files into the package directory.
256-
-d Skip uploading.
257-
-e Skip checkout of external repositories.
258-
-l Skip @localization@ keyword replacement.
259-
-L Only do @localization@ keyword replacement (skip upload to CurseForge).
260-
-o Keep existing package directory, overwriting its contents.
261-
-s Create a stripped-down "nolib" package.
262-
-u Use Unix line-endings.
263-
-z Skip zip file creation.
264-
-t topdir Set top-level directory of checkout.
265-
-r releasedir Set directory containing the package directory. Defaults to "$topdir/.release".
266-
-p curse-id Set the project id used on CurseForge for localization and uploading. (Use 0 to unset the TOC value)
267-
-w wowi-id Set the addon id used on WoWInterface for uploading. (Use 0 to unset the TOC value)
268-
-a wago-id Set the project id used on Wago Addons for uploading. (Use 0 to unset the TOC value)
269-
-g game-version Set the game version to use for uploading.
270-
-m pkgmeta.yaml Set the pkgmeta file to use.
271-
-n package-name Set the package zip file name. Use "-n help" for more info.
258+
```text
259+
Usage: release.sh [options]
260+
-c Skip copying files into the package directory.
261+
-d Skip uploading.
262+
-e Skip checkout of external repositories.
263+
-l Skip @localization@ keyword replacement.
264+
-L Only do @localization@ keyword replacement (skip upload to CurseForge).
265+
-o Keep existing package directory, overwriting its contents.
266+
-s Create a stripped-down "nolib" package.
267+
-u Use Unix line-endings.
268+
-z Skip zip file creation.
269+
-t topdir Set top-level directory of checkout.
270+
-r releasedir Set directory containing the package directory. Defaults to "$topdir/.release".
271+
-p curse-id Set the project id used on CurseForge for localization and uploading. (Use 0 to unset the TOC value)
272+
-w wowi-id Set the addon id used on WoWInterface for uploading. (Use 0 to unset the TOC value)
273+
-a wago-id Set the project id used on Wago Addons for uploading. (Use 0 to unset the TOC value)
274+
-g game-version Set the game version to use for uploading.
275+
-m pkgmeta.yaml Set the pkgmeta file to use.
276+
-n package-name Set the package zip file name. Use "-n help" for more info.
277+
```
272278

273279
### Uploading
274280

0 commit comments

Comments
 (0)