You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[AssemblyInfo.cs from RasterPropMonitor](https://github.com/JonnyOThan/RasterPropMonitor/blob/master/SharedAssemblyInfo.cs.versiontemplate)
22
24
*[.version file from RasterPropMonitor](https://github.com/JonnyOThan/RasterPropMonitor/blob/master/GameData/JSI/RasterPropMonitor/RasterPropMonitor.version.versiontemplate)
23
25
24
-
```{option} VERSION_STRING
26
+
```
27
+
{option} VERSION_STRING
25
28
**Required**
26
29
27
30
This is the new version you want to set, in MAJOR.MINOR.PATCH.BUILD form. Any of the values can be omitted (starting from the right).
28
31
```
29
32
30
-
```{option} TEMPLATE_EXTENSION
33
+
```
34
+
{option} TEMPLATE_EXTENSION
31
35
**Optional.** Default: `.versiontemplate`
32
36
33
37
This is a file extension that indicates which files the script should consider. When processing a file, if it ends with this extension then the script will store the output in a new file with the template extension removed. Otherwise the file is updated in-place.
34
38
```
35
39
36
-
```{option} FILES
40
+
```
41
+
{option} FILES
37
42
**Optional.**
38
43
39
44
This is a list of files to process. If omitted, the script will process all files in the subtree that end with
40
45
`TEMPLATE_EXTENSION`.
41
46
```
42
47
43
-
```{option} -g (true|false)
48
+
```
49
+
{option} -g (true|false)
44
50
**Optional.** Default: false
45
51
46
52
If true, calls `git add` on each of the modified files (but does not commit).
47
53
```
48
54
49
-
```{option} -d (true|false)
55
+
```
56
+
{option} -d (true|false)
50
57
**Optional.** Default: false
51
58
52
59
If true, deletes the template file after processing (if the file was not updated in-place).
@@ -57,9 +64,8 @@ If true, deletes the template file after processing (if the file was not updated
57
64
The script will replace the following tokens in processed files:
58
65
59
66
*`@VERSION_STRING@` : replaced with the raw `VERSION_STRING`
60
-
*`@VERSION_FULL@` : replaced with `VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH.VERSION_BUILD`. That is, it is
61
-
`VERSION_STRING` with all non-digit characters removed
67
+
*`@VERSION_FULL@` : replaced with `VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH.VERSION_BUILD`. That is, it is `VERSION_STRING` with all non-digit characters removed
62
68
*`@VERSION_MAJOR@` : replaced with the major version number
63
69
*`@VERSION_MINOR@` : replaced with the minor version number
64
70
*`@VERSION_PATCH@` : replaced with the patch version number
65
-
*`@VERSION_BUILD@` : replaced with the build version number
71
+
*`@VERSION_BUILD@` : replaced with the build version number
0 commit comments