Fixed data_root hash file bug
All checks were successful
Build (artifact) / build (push) Successful in 50s
All checks were successful
Build (artifact) / build (push) Successful in 50s
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
||||
VERSION := 1.1.3-beta
|
||||
VERSION := 1.1.4-beta
|
||||
BUILD := $(shell git rev-parse --short HEAD)
|
||||
|
||||
GO := go
|
||||
|
||||
@@ -23,4 +23,5 @@ sudo certman new-domain example.com
|
||||
```
|
||||
|
||||
### TODO
|
||||
- Add systemd units during install
|
||||
- Add systemd units during install
|
||||
- Add update command to pull from latest release
|
||||
@@ -297,7 +297,7 @@ func AddAndPushCerts(domain string, ws *GitWorkspace, config *AppConfig, domainC
|
||||
func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error {
|
||||
var dataRoot string
|
||||
if domainConfig.Certificates.DataRoot == "" {
|
||||
dataRoot = filepath.Join(config.Certificates.DataRoot, domainConfig.Domain.DomainName)
|
||||
dataRoot = filepath.Join(config.Certificates.DataRoot, "certificates", domainConfig.Domain.DomainName)
|
||||
} else {
|
||||
dataRoot = domainConfig.Certificates.DataRoot
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user