From 727de333b4331f754da7b91e4e92efa94aa834bb Mon Sep 17 00:00:00 2001 From: Steven Tracey Date: Sat, 21 Mar 2026 10:59:47 +0100 Subject: [PATCH] Fixed data_root hash file bug --- Makefile | 2 +- README.md | 3 ++- common/git.go | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f90d9b6..45954fe 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := 1.1.3-beta +VERSION := 1.1.4-beta BUILD := $(shell git rev-parse --short HEAD) GO := go diff --git a/README.md b/README.md index 1a98843..215a8b2 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,5 @@ sudo certman new-domain example.com ``` ### TODO - - Add systemd units during install \ No newline at end of file + - Add systemd units during install + - Add update command to pull from latest release \ No newline at end of file diff --git a/common/git.go b/common/git.go index 645b710..6bfdc15 100644 --- a/common/git.go +++ b/common/git.go @@ -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 }