-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.go
34 lines (30 loc) · 1.05 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package main
import (
"github.com/n3tuk/dashboard/internal/cmd"
)
var (
// Branch is the name of the branch on which the code existed which built this
// application to track the testing and development as needed.
Branch = "main"
// Commit is the SHA ID of the most current commit of the branch on which the
// code existed which built this application.
Commit = "00000000"
// Version is the most current version tag in the repository, detailing the
// information about the release of the application, and, if committed or
// uncommitted code is used during the build since the tag, then the suffix
// `~dev-{date}-{time}` is added to the `Version`.
Version = "v0.0.0"
// Architecture is the name of the architecture this application was built
// for, and therefore runs on.
Architecture = "unknown"
// BuildDate is the date and time this application was built.
BuildDate = "2024-07-01 00:00:00"
)
func main() {
cmd.Branch = Branch
cmd.Commit = Commit
cmd.Version = Version
cmd.Architecture = Architecture
cmd.BuildDate = BuildDate
cmd.Execute()
}