Skip to content

Commit

Permalink
Testing version ldflag
Browse files Browse the repository at this point in the history
  • Loading branch information
tiegz committed Aug 28, 2024
1 parent 406844d commit 268aa4a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/tidelift-sbom-vulnerability-reporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,16 @@ type VulnerabilityDetails struct {
RecommendationDetails *RecommendationDetails `json:"recommendation_details"`
}

var (
version = "dev"
commit = "none"
date = "unknown"
)

func main() {

fmt.Printf("my app %s, commit %s, built at %s", version, commit, date)

var debug bool
var outputFile string

Expand Down

0 comments on commit 268aa4a

Please sign in to comment.