I have a abc.toml file having following content :
[env]
APPLICATION_NAME = 'loy'
COMPONENT_NAME = 'web-loy'
AAAS_VERSION='0.0.2'
AAAS_FLAVOR='apache-base'
CONF_VERSION='0.0.1'
SERVICE_VERSION='0.0.2'
I want to write a script in shell so that I can call it and increment the version no. in CONF_VERSION. i.e After calling script, CONF_VERSION should become '0.0.2', and next time '0.0.3' and so on...
Expected output after calling the script once is:
[env]
APPLICATION_NAME = 'loy'
COMPONENT_NAME = 'web-loy'
AAAS_VERSION='0.0.2'
AAAS_FLAVOR='apache-base'
CONF_VERSION='0.0.2'
SERVICE_VERSION='0.0.2'