version increment
This commit is contained in:
parent
7cc2e6d9e8
commit
50c8d3baf2
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue