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
| MAIN_BRANCH_NAME | 0.1.0 | Yes | The name of the main project's branch. | 'main' or 'master' |
239
239
| VERSION_FILE | 0.1.0 | Yes | File which contains version information. | 'package.json' <br/> (for node.js application) |
240
-
| TEXT_BEFORE_VERSION_CODE | 0.1.0 | Yes | Unique text which will be just before version number including spaces. | '"version": "' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
241
-
| TEXT_AFTER_VERSION_CODE | 0.1.0 | Yes | Unique text which will be just after version number including spaces. | '",' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
240
+
| TEXT_BEFORE_VERSION_CODE | 0.1.0 | Yes | Unique text which will be just before version number including spaces. All special symbols ('/', '\\', '^', '$', '*', '(', ')', '{', '}', '[', ']') should be escaped with '\\'.| '"version": "' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
241
+
| TEXT_AFTER_VERSION_CODE | 0.1.0 | Yes | Unique text which will be just after version number including spaces. All special symbols ('/', '\\', '^', '$', '*', '(', ')', '{', '}', '[', ']') should be escaped with '\\'.| '",' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
242
242
| MODULE_ROOT_PATH | 2.2.0 | No | Root path of the project code directory relative to the repository root (this variable can be used in git diff if IS_INCREMENT_REQUIRED_ONLY_ON_CHANGES equals 'true'). | 'src' (for src directory in the repository root) |
243
243
| IS_INCREMENT_REQUIRED_ONLY_ON_CHANGES | 2.2.0 | No | If this variable set to 'true' and current branch has no difference with HEAD..origin/MAIN_BRANCH_NAME, vuh will not modify your current version if your current version is the same as main version. If this variable is 'false' (which is by default) vuh will suggest you to increase your current version. | 'true' or 'false' ('false' by default) |
244
244
|\<VERSION_PART>_CHANGING_LOCATIONS | 2.3.0 | No | If there are changes between HEAD..origin/MAIN_BRANCH_NAME and current branch in this files or directories, <VERSION_PART> version should be increased. Works only if you checking git diff (you configured your .vuh config such way or you using --check-git-diff parameter). Locations should be separated with spaces. Empty variable means there is no locations which leads to <VERSION_PART> increasing on every change in them. | 'openapi/schema.yaml very/important/directory' <br/> (for 'openapi/schema.yaml' and 'very/important/directory') |
@@ -253,9 +253,9 @@ List of all config variables for monorepos:
| PROJECT_MODULES | 2.0.0 | No | List of all modules in your mono repository that will have different versioning mechanisms. <br/>You can leave this variable empty if your repository contains only one project. <br/>For each specified module you should specify configuration for this module down below. | 'BACKEND,FRONTEND' (for mono repository with two modules: BACKEND and FRONTEND) |
255
255
|\<MODULE>_MAIN_BRANCH_NAME | 2.0.0 | No | The name of the main project's branch (for specific \<MODULE>). By default this value will be equal to MAIN_BRANCH_NAME variable. | 'main' or 'master' |
256
-
|\<MODULE>_VERSION_FILE | 2.0.0 |No | File which contains version information (for specific \<MODULE>). | 'package.json' <br/> (for node.js application) |
257
-
|\<MODULE>_TEXT_BEFORE_VERSION_CODE | 2.0.0 |No| Unique text which will be just before version number including spaces (for specific \<MODULE>). | '"version": "' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
258
-
|\<MODULE>_TEXT_AFTER_VERSION_CODE | 2.0.0 |No| Unique text which will be just after version number including spaces (for specific \<MODULE>). | '",' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
256
+
|\<MODULE>_VERSION_FILE | 2.0.0 |Yes| File which contains version information (for specific \<MODULE>). | 'package.json' <br/> (for node.js application) |
257
+
|\<MODULE>_TEXT_BEFORE_VERSION_CODE | 2.0.0 |Yes| Unique text which will be just before version number including spaces (for specific \<MODULE>). All special symbols ('/', '\\', '^', '$', '*', '(', ')', '{', '}', '[', ']') should be escaped with '\\'.| '"version": "' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
258
+
|\<MODULE>_TEXT_AFTER_VERSION_CODE | 2.0.0 |Yes| Unique text which will be just after version number including spaces (for specific \<MODULE>). All special symbols ('/', '\\', '^', '$', '*', '(', ')', '{', '}', '[', ']') should be escaped with '\\'.| '",' <br/> (for variable "version" in json files so it can find line "version": "version_number") |
259
259
|\<MODULE>_MODULE_ROOT_PATH | 2.0.0 | No | Root path of the project module code directory relative to the repository root (this variable can be used in git diff if \<MODULE>_IS_INCREMENT_REQUIRED_ONLY_ON_CHANGES equals 'true'). | 'frontend' (for frontend directory in the repository root) |
260
260
|\<MODULE>_IS_INCREMENT_REQUIRED_ONLY_ON_CHANGES | 2.2.0 | No | If this variable set to 'true' and current branch has no difference with HEAD..origin/\<MODULE>_MAIN_BRANCH_NAME, vuh will not modify your current version if your current version is the same as main version. If this variable is 'false' (which is by default) vuh will suggest you to increase your current version. | 'true' or 'false' ('false' by default) |
261
261
|\<MODULE>_<VERSION_PART>_CHANGING_LOCATIONS | 2.3.0 | No | If there are changes between HEAD..origin/\<MODULE>MAIN_BRANCH_NAME and current branch in this files or directories, <VERSION_PART> version should be increased. Works only if you checking git diff (you configured your .vuh config such way for this \<MODULE> or you using --check-git-diff parameter). Locations should be separated with spaces. Empty variable means there is no locations which leads to <VERSION_PART> increasing on every change in them. | 'openapi/schema.yaml very/important/directory' <br/> (for 'openapi/schema.yaml' and 'very/important/directory') |
0 commit comments