Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Oct 1, 2024
1 parent 039a8ae commit 87d3580
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
build/linux/arm64:
$(info Building debug tool for linux arm64)
GOOS=linux GOARCH=arm64 go build -o out/ftb-debug-linux-arm64 -trimpath -buildvcs=false -ldflags "-s -w -X 'main.GitCommit=$(GITHUB_SHA_SHORT)' -X 'main.Version=$(GITHUB_REF_NAME)'"
GOOS=linux GOARCH=arm64 go build -o out/ftb-debug-linux-arm64 -trimpath -buildvcs=false -ldflags "-s -w -X 'shared.GitCommit=$(GITHUB_SHA_SHORT)' -X 'shared.Version=$(GITHUB_REF_NAME)'"

build/linux/amd64:
$(info Building debug tool for linux amd64)
GOOS=linux GOARCH=amd64 go build -o out/ftb-debug-linux-amd64 -trimpath -buildvcs=false -ldflags "-s -w -X 'main.GitCommit=$(GITHUB_SHA_SHORT)' -X 'main.Version=$(GITHUB_REF_NAME)'"
GOOS=linux GOARCH=amd64 go build -o out/ftb-debug-linux-amd64 -trimpath -buildvcs=false -ldflags "-s -w -X 'shared.GitCommit=$(GITHUB_SHA_SHORT)' -X 'shared.Version=$(GITHUB_REF_NAME)'"

build/windows/arm64:
$(info Building debug tool for windows arm64)
GOOS=windows GOARCH=arm64 go build -o out/ftb-debug-windows-arm64.exe -trimpath -buildvcs=false -ldflags "-s -w -X 'main.GitCommit=$(GITHUB_SHA_SHORT)' -X 'main.Version=$(GITHUB_REF_NAME)'"
GOOS=windows GOARCH=arm64 go build -o out/ftb-debug-windows-arm64.exe -trimpath -buildvcs=false -ldflags "-s -w -X 'shared.GitCommit=$(GITHUB_SHA_SHORT)' -X 'shared.Version=$(GITHUB_REF_NAME)'"

build/windows/amd64:
$(info Building debug tool for windows amd64)
GOOS=windows GOARCH=amd64 go build -o out/ftb-debug-windows-amd64.exe -trimpath -buildvcs=false -ldflags "-s -w -X 'main.GitCommit=$(GITHUB_SHA_SHORT)' -X 'main.Version=$(GITHUB_REF_NAME)'"
GOOS=windows GOARCH=amd64 go build -o out/ftb-debug-windows-amd64.exe -trimpath -buildvcs=false -ldflags "-s -w -X 'shared.GitCommit=$(GITHUB_SHA_SHORT)' -X 'shared.Version=$(GITHUB_REF_NAME)'"

build/darwin/amd64:
$(info Building debug tool for darwin amd64)
GOOS=darwin GOARCH=amd64 go build -o out/ftb-debug-darwin-amd64 -trimpath -buildvcs=false -ldflags "-s -w -X 'main.GitCommit=$(GITHUB_SHA_SHORT)' -X 'main.Version=$(GITHUB_REF_NAME)'"
GOOS=darwin GOARCH=amd64 go build -o out/ftb-debug-darwin-amd64 -trimpath -buildvcs=false -ldflags "-s -w -X 'shared.GitCommit=$(GITHUB_SHA_SHORT)' -X 'shared.Version=$(GITHUB_REF_NAME)'"

build/darwin/arm64:
$(info Building debug tool for darwin arm64)
GOOS=darwin GOARCH=arm64 go build -o out/ftb-debug-darwin-arm64 -trimpath -buildvcs=false -ldflags "-s -w -X 'main.GitCommit=$(GITHUB_SHA_SHORT)' -X 'main.Version=$(GITHUB_REF_NAME)'"
GOOS=darwin GOARCH=arm64 go build -o out/ftb-debug-darwin-arm64 -trimpath -buildvcs=false -ldflags "-s -w -X 'shared.GitCommit=$(GITHUB_SHA_SHORT)' -X 'shared.Version=$(GITHUB_REF_NAME)'"

build_all: build/linux/arm64 build/linux/amd64 build/windows/arm64 build/windows/amd64 build/darwin/amd64 build/darwin/arm64
2 changes: 1 addition & 1 deletion dbg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func RunDebug() {
}

// Compile manifest
manifest.Version = "2.0.5-go"
manifest.Version = "v2.0.5-go"
manifest.MetaDetails = MetaDetails{
InstanceCount: len(instances),
Today: time.Now().UTC().Format(time.DateOnly),
Expand Down

0 comments on commit 87d3580

Please sign in to comment.