From 50c8d3baf204d7e7ed299d9854e19ad5d6775243 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Mon, 16 Aug 2021 21:10:01 +0100 Subject: [PATCH] version increment --- entrypoint.sh | 6 ++++-- src/default-config/config.default.yaml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index b3613b1..bf419b6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,8 +6,10 @@ function write_file() { while read line; do first_char=${line:0:1} - - if [[ $first_char != "#" ]]; then + first_vers=$(line:0:7) + if [[ $first_vers == "Version" ]]; then + line="# This is the sample config file for MailAutoConf "$line + elif [[ $first_char != "#" ]]; then line="#"$line fi echo $line >> $2 diff --git a/src/default-config/config.default.yaml b/src/default-config/config.default.yaml index 870d458..32b6cdf 100644 --- a/src/default-config/config.default.yaml +++ b/src/default-config/config.default.yaml @@ -1,5 +1,5 @@ --- -Version : "0.1.1" +Version : "0.1.2" # Sample config.yaml file. # Copy this file to "config/config.yaml" and adjust the # settings to your requirements