- Created `qa-test-output-after-fix.txt` and `qa-test-output.txt` to log results of certificate page authentication tests. - Added `build.sh` for deterministic backend builds in CI, utilizing `go list` for efficiency. - Introduced `codeql_scan.sh` for CodeQL database creation and analysis for Go and JavaScript/TypeScript. - Implemented `dockerfile_check.sh` to validate Dockerfiles for base image and package manager mismatches. - Added `sourcery_precommit_wrapper.sh` to facilitate Sourcery CLI usage in pre-commit hooks.
25 lines
548 B
Go
25 lines
548 B
Go
// Package version provides build version information.
|
|
package version
|
|
|
|
const (
|
|
// Name of the application
|
|
Name = "Charon"
|
|
)
|
|
|
|
var (
|
|
// Version is the semantic version
|
|
Version = "0.3.0"
|
|
// BuildTime is set during build via ldflags
|
|
BuildTime = "unknown"
|
|
// GitCommit is set during build via ldflags
|
|
GitCommit = "unknown"
|
|
)
|
|
|
|
// Full returns the complete version string.
|
|
func Full() string {
|
|
if BuildTime != "unknown" && GitCommit != "unknown" {
|
|
return Version + " (commit: " + GitCommit + ", built: " + BuildTime + ")"
|
|
}
|
|
return Version
|
|
}
|