-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_versions.conf
32 lines (29 loc) · 1.85 KB
/
update_versions.conf
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
30
31
32
#tag: Version tag string to be replaced (optional -- if unspecified @VERSION@ is assumed)
#
#sourcefile: File to obtain the actual version from (optional -- if unspecified, .version is assumed)
# If this file is executable, it will be executed and the output will be used as the version string.
# Otherwise it will be read and its contents will be used as the version string, with any leading and
# trailing whitespace stripped. The version string is validated by the update_version.sh string to
# verify that they match the expected version formatting (essentially semver, with a minor exception
# -- see the script header for details).
#sourcefile-novalidate: This is identical to the previous tag, except that the only validation that is
# done is to verify that the version string is not blank and does not contain strings which will
# disrupt the sed command used for the version tag replacement. Essentially, it cannot contain
# double quotes, forward slashes, or hash symbols. The file does still have leading and trailing
# whitespace stripped, however.
#targetfile: file in which to have version tags replaced. When this line is reached, the replacement
# action is performed on this file.
#
#Multiples of any of these lines are allowed. A given line is in effect until another line overrides it.
#For this purpose, the sourcefile and sourcefile-novalidate lines are considered the same (that is, they
#override each other).
sourcefile: .chart_version
tag: 0.0.0-chart
targetfile: kubernetes/cray-console-data/Chart.yaml
sourcefile: .docker_version
tag: 0.0.0-image
targetfile: kubernetes/cray-console-data/Chart.yaml
sourcefile-novalidate: .stable
tag: S-T-A-B-L-E
targetfile: kubernetes/cray-console-data/Chart.yaml
targetfile: kubernetes/cray-console-data/values.yaml