Compare commits

..

6 Commits

Author SHA1 Message Date
7f9251f06b Merge pull request #123 from cupcakearmy/1.4.1
allow all values from envs
2021-10-31 22:47:33 +01:00
09cfa4a98e changelog 2021-10-31 22:46:37 +01:00
05c3458a95 version bump 2021-10-31 22:45:54 +01:00
2826f9586d allow all values from envs 2021-10-31 22:45:03 +01:00
f71425be5b Merge pull request #122 from n194/patch-1
Remove credit from AUR
2021-10-31 14:47:16 +01:00
n
d78fbb6650 Remove credit from AUR 2021-10-31 19:40:53 +09:00
3 changed files with 9 additions and 8 deletions

View File

@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.4.1] - 2021-10-31
### Fixes
- Numeric values from config files not being passed to env.
## [1.4.0] - 2021-10-30
### Added

View File

@@ -20,6 +20,6 @@ If you are on macOS you can install through brew: `brew install autorestic`.
### AUR
If you are on Arch there is an [AUR Package](https://aur.archlinux.org/packages/autorestic-bin/) by @n194.
If you are on Arch there is an [AUR Package](https://aur.archlinux.org/packages/autorestic-bin/) (looking for maintainers).
> :ToCPrevNext

View File

@@ -16,7 +16,7 @@ import (
"github.com/spf13/viper"
)
const VERSION = "1.4.0"
const VERSION = "1.4.1"
var CI bool = false
var VERBOSE bool = false
@@ -253,12 +253,7 @@ func appendOptionsToSlice(str *[]string, options OptionMap) {
*str = append(*str, optionToString(key))
continue
}
// String
asString, ok := value.(string)
if ok {
*str = append(*str, optionToString(key), asString)
continue
}
*str = append(*str, optionToString(key), fmt.Sprint(value))
}
}
}