mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
Merge branch 'master' into multiple-paths
This commit is contained in:
commit
27e82c8529
@ -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/),
|
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).
|
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
|
## [1.4.0] - 2021-10-30
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -20,6 +20,6 @@ If you are on macOS you can install through brew: `brew install autorestic`.
|
|||||||
|
|
||||||
### AUR
|
### 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
|
> :ToCPrevNext
|
||||||
|
@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION = "1.4.0"
|
const VERSION = "1.4.1"
|
||||||
|
|
||||||
var CI bool = false
|
var CI bool = false
|
||||||
var VERBOSE bool = false
|
var VERBOSE bool = false
|
||||||
@ -257,12 +257,7 @@ func appendOptionsToSlice(str *[]string, options OptionMap) {
|
|||||||
*str = append(*str, optionToString(key))
|
*str = append(*str, optionToString(key))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// String
|
*str = append(*str, optionToString(key), fmt.Sprint(value))
|
||||||
asString, ok := value.(string)
|
|
||||||
if ok {
|
|
||||||
*str = append(*str, optionToString(key), asString)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user