2 Commits

Author SHA1 Message Date
727de333b4 Fixed data_root hash file bug
All checks were successful
Build (artifact) / build (push) Successful in 50s
2026-03-21 10:59:47 +01:00
f4e7a37fa6 Fixed bug with hash being written in wrong location
All checks were successful
Build (artifact) / build (push) Successful in 41s
2026-03-21 10:52:46 +01:00
3 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
VERSION := 1.1.2-beta VERSION := 1.1.4-beta
BUILD := $(shell git rev-parse --short HEAD) BUILD := $(shell git rev-parse --short HEAD)
GO := go GO := go

View File

@@ -20,4 +20,8 @@ sudo certman new-domain example.com
```bash ```bash
sudo certman install -mode client sudo certman install -mode client
sudo certman new-domain example.com sudo certman new-domain example.com
``` ```
### TODO
- Add systemd units during install
- Add update command to pull from latest release

View File

@@ -297,7 +297,7 @@ func AddAndPushCerts(domain string, ws *GitWorkspace, config *AppConfig, domainC
func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error { func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error {
var dataRoot string var dataRoot string
if domainConfig.Certificates.DataRoot == "" { if domainConfig.Certificates.DataRoot == "" {
dataRoot = config.Certificates.DataRoot dataRoot = filepath.Join(config.Certificates.DataRoot, "certificates", domainConfig.Domain.DomainName)
} else { } else {
dataRoot = domainConfig.Certificates.DataRoot dataRoot = domainConfig.Certificates.DataRoot
} }