We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02a094a commit 401f3a4Copy full SHA for 401f3a4
scripts/ci/build-packages
@@ -29,9 +29,16 @@ build_archive()
29
30
pushd "${workspace}"
31
32
- local target="${PKG_OUT_PATH}/influxdb2-client-${VERSION}_${OS}_${ARCH}.tar.gz"
+ if [[ ${OS} != windows ]]
33
+ then
34
+ local target="${PKG_OUT_PATH}/influxdb2-client-${VERSION}_${OS}_${ARCH}.tar.gz"
35
+
36
+ tar -czf "${target}" .
37
+ else
38
+ local target="${PKG_OUT_PATH}/influxdb2-client-${VERSION}_${OS}_${ARCH}.zip"
39
+ zip -r "${target}" .
40
+ fi
41
- tar -czf "${target}" .
42
43
# generate signature and checksums
44
generate_signature "${target}"
@@ -148,4 +155,7 @@ case ${OS} in
148
155
darwin)
149
156
build_archive
150
157
;;
158
+ windows)
159
+ build_archive
160
+ ;;
151
161
esac
0 commit comments