Skip to content

Commit

Permalink
Merge pull request #124 from enkodr/fix-versioning
Browse files Browse the repository at this point in the history
Fix versioning after restructure
  • Loading branch information
enkodr authored Feb 17, 2024
2 parents 0eefd19 + e73d72e commit cb0e21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ builds:
ldflags:
- -s
- -w
- -X github.com/enkodr/machina/machina.version={{.Version}}
- -X github.com/enkodr/machina/machina.gitCommit={{.Commit}}
- -X github.com/enkodr/machina/machina.buildDate={{.Date}}
- -X github.com/enkodr/machina/cmd.version={{.Version}}
- -X github.com/enkodr/machina/cmd.gitCommit={{.Commit}}
- -X github.com/enkodr/machina/cmd.buildDate={{.Date}}
goos:
- linux
archives:
Expand Down
6 changes: 0 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ package main

import "github.com/enkodr/machina/cmd"

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

func main() {
cmd.Execute()
}

0 comments on commit cb0e21a

Please sign in to comment.