Skip to content

Commit

Permalink
fix: polygon edge version info
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Atanasievski committed Sep 22, 2023
1 parent 6949f25 commit 29d581f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ builds:
env:
- CC=o64-clang
- CXX=o64-clang++
ldflags: -s -w -X 'github.com/topos-protocol/polygon-edge/versioning.Version=v{{ .Version }}'
ldflags: -s -w -X 'github.com/0xPolygon/polygon-edge/versioning.Version=v{{ .Version }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Commit={{ .Commit }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Branch={{ .Branch }}'

- id: darwin-arm64
main: ./main.go
Expand All @@ -28,7 +28,7 @@ builds:
env:
- CC=oa64-clang
- CXX=oa64-clang++
ldflags: -s -w -X 'github.com/topos-protocol/polygon-edge/versioning.Version=v{{ .Version }}'
ldflags: -s -w -X 'github.com/0xPolygon/polygon-edge/versioning.Version=v{{ .Version }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Commit={{ .Commit }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Branch={{ .Branch }}'

- id: linux-amd64
main: ./main.go
Expand All @@ -42,7 +42,7 @@ builds:
- CXX=g++
ldflags:
# We need to build a static binary because we are building in a glibc based system and running in a musl container
-s -w -linkmode external -extldflags "-static" -X 'github.com/topos-protocol/polygon-edge/versioning.Version=v{{ .Version }}'
-s -w -linkmode external -extldflags "-static" -X 'github.com/0xPolygon/polygon-edge/versioning.Version=v{{ .Version }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Commit={{ .Commit }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Branch={{ .Branch }}'
tags:
- netgo
- osusergo
Expand All @@ -59,7 +59,7 @@ builds:
- CXX=aarch64-linux-gnu-g++
ldflags:
# We need to build a static binary because we are building in a glibc based system and running in a musl container
-s -w -linkmode external -extldflags "-static" -X 'github.com/topos-protocol/polygon-edge/versioning.Version=v{{ .Version }}'
-s -w -linkmode external -extldflags "-static" -X 'github.com/0xPolygon/polygon-edge/versioning.Version=v{{ .Version }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Commit={{ .Commit }}' -X 'github.com/0xPolygon/polygon-edge/versioning.Branch={{ .Branch }}'
tags:
- netgo
- osusergo
Expand Down

0 comments on commit 29d581f

Please sign in to comment.