Add GitSHA variable

This commit is contained in:
Carl Pearson
2024-09-11 08:43:58 -06:00
parent e50ff37215
commit ca86caee85
4 changed files with 18 additions and 2 deletions

View File

@@ -37,6 +37,8 @@ func ensureAdminAccount(db *gorm.DB) error {
func main() {
fmt.Printf("git SHA: %s\n", getGitSHA())
// Create config database
err := os.MkdirAll(getConfigDir(), 0700)
if err != nil {