Skip to content

Commit eda5f73

Browse files
committed
fix zip command
1 parent 2000005 commit eda5f73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

create-release-builds

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ tar -czf "$release_prefix-linux-arm64.tar.gz" "$release_prefix-linux-arm64"
3131
echo "- creating windows builds"
3232
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -o "$release_prefix-windows-amd64/" -ldflags "-w -X airbyte.io/abctl/internal/build.Version=${ABCTL_VERSION}" .
3333
# sleep is necessary otherwise the zip command can fail with the error "zip error: Zip file structure invalid (build/release/abctl-[VERSION]-windows-amd64)
34-
sleep 1
35-
zip -q -r "$release_prefix-windows-amd64" "$release_prefix-windows-amd64"
34+
zip -q -r "$release_prefix-windows-amd64.zip" "$release_prefix-windows-amd64"
3635

3736
echo "completed release builds"

0 commit comments

Comments
 (0)