@@ -34,9 +34,11 @@ __release.sh__ uses the TOC file to determine the package name for the project.
34
34
You can also set the CurseForge project id (` -p`), the WoWInterface addon
35
35
id (`-w`) or the Wago project id (`-a`) by adding the following to the TOC file :
36
36
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
+ ` ` `
40
42
41
43
Your CurseForge project id can be found on the addon page in the "About Project"
42
44
side box.
@@ -219,10 +221,12 @@ multiple `## Interface-Type:` lines in your TOC file. Only one `## Interface:`
219
221
line will be included in the packaged TOC file based on the targeted game
220
222
version.
221
223
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
+ ` ` `
226
230
227
231
You specify what version of the game you're targeting with the `-g` switch. You
228
232
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:
251
255
252
256
# # Usage
253
257
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
+ ` ` `
272
278
273
279
# ## Uploading
274
280
0 commit comments