This repository was archived by the owner on Sep 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212echo " Building application version $VERSION "
1313
1414echo " Building default binary"
15- CGO_ENABLED=0 go build -ldflags " -s -w" -ldflags " -X cmd.version=${VERSION} " -o " dist/github-cli" $PKG_SRC
15+ CGO_ENABLED=0 go build -ldflags " -s -w" -ldflags " -X github.com/hellofresh/github-cli/ cmd.version=${VERSION} " -o " dist/github-cli" $PKG_SRC
1616
1717# Build 386 amd64 binaries
1818OS_PLATFORM_ARG=(linux darwin windows)
1919OS_ARCH_ARG=(386 amd64)
2020for OS in ${OS_PLATFORM_ARG[@]} ; do
2121 for ARCH in ${OS_ARCH_ARG[@]} ; do
2222 echo " Building binary for $OS /$ARCH ..."
23- GOARCH=$ARCH GOOS=$OS CGO_ENABLED=0 go build -ldflags " -s -w" -ldflags " -X cmd.version=${VERSION} " -o " dist/github-cli_$OS -$ARCH " $PKG_SRC
23+ GOARCH=$ARCH GOOS=$OS CGO_ENABLED=0 go build -ldflags " -s -w" -ldflags " -X github.com/hellofresh/github-cli/ cmd.version=${VERSION} " -o " dist/github-cli_$OS -$ARCH " $PKG_SRC
2424 done
2525done
2626
@@ -30,6 +30,6 @@ OS_ARCH_ARG=(arm arm64)
3030for OS in ${OS_PLATFORM_ARG[@]} ; do
3131 for ARCH in ${OS_ARCH_ARG[@]} ; do
3232 echo " Building binary for $OS /$ARCH ..."
33- GOARCH=$ARCH GOOS=$OS CGO_ENABLED=0 go build -ldflags " -s -w" -ldflags " -X cmd.version=${VERSION} " -o " dist/github-cli_$OS -$ARCH " $PKG_SRC
33+ GOARCH=$ARCH GOOS=$OS CGO_ENABLED=0 go build -ldflags " -s -w" -ldflags " -X github.com/hellofresh/github-cli/ cmd.version=${VERSION} " -o " dist/github-cli_$OS -$ARCH " $PKG_SRC
3434 done
3535done
You can’t perform that action at this time.
0 commit comments