Skip to content

Commit 3dab0ec

Browse files
committed
fix: add version during testing
1 parent c4d8f0c commit 3dab0ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/gateway-conformance/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ func main() {
127127
args = append(args, fmt.Sprintf("-specs=%s", specs))
128128
}
129129

130+
ldFlag := fmt.Sprintf("-ldflags=-X github.com/ipfs/gateway-conformance/tooling.Version=%s", tooling.Version)
131+
args = append(args, ldFlag)
132+
130133
args = append(args, cCtx.Args().Slice()...)
131134

132135
fmt.Println("go " + strings.Join(args, " "))

0 commit comments

Comments
 (0)