-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
gitHooksConfigTemplate.txt
29 lines (24 loc) · 1.22 KB
/
gitHooksConfigTemplate.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SUBLIME_STUDIO_VERSION.txt,
README.MD,
develop,
.,
0,
This is the 'update_version.sh' configuration file.
It is important do not include any spaces on the above configuration line or remove the last comma.
The above line define the files where:
1) The file relative path from the main repository folder, where the current version number will be stored.
Example: GALILEO_VERSION.txt
2) The file relative path from the main repository folder, which will be updated using the current version file.
Example: scripting/galileo.sma
3) The target branch to operate/apply the versioning. Use . to work with any branch.
Example: develop
4) The target file to trigger the versioning script. Use . to allow any file change trigger the update process.
Example: galileo.sma
5) Bit wise options to customize the program behavior. The options currently available are:
0 - Disable all options.
1 - Convert the target file to CRLF line endings.
Note: Both files must be using the same version number when the 'update_version.sh' program ran.
#
# This version number must be synced with "githooks/PROGRAM_NAME_VERSION.txt" for manual edition.
# To update them automatically, use: ./.githooks/update_version.sh [major | minor | patch | build]
#