version increment

This commit is contained in:
Paul Wilde 2021-08-16 21:10:01 +01:00
parent 7cc2e6d9e8
commit 50c8d3baf2
2 changed files with 5 additions and 3 deletions

View file

@ -6,8 +6,10 @@ function write_file() {
while read line; while read line;
do do
first_char=${line:0:1} first_char=${line:0:1}
first_vers=$(line:0:7)
if [[ $first_char != "#" ]]; then if [[ $first_vers == "Version" ]]; then
line="# This is the sample config file for MailAutoConf "$line
elif [[ $first_char != "#" ]]; then
line="#"$line line="#"$line
fi fi
echo $line >> $2 echo $line >> $2

View file

@ -1,5 +1,5 @@
--- ---
Version : "0.1.1" Version : "0.1.2"
# Sample config.yaml file. # Sample config.yaml file.
# Copy this file to "config/config.yaml" and adjust the # Copy this file to "config/config.yaml" and adjust the
# settings to your requirements # settings to your requirements