chore: build windows packages on release (#490)
This commit is contained in:
parent
02a094a4b1
commit
a5a89b41f6
@ -29,9 +29,16 @@ build_archive()
|
||||
|
||||
pushd "${workspace}"
|
||||
|
||||
local target="${PKG_OUT_PATH}/influxdb2-client-${VERSION}_${OS}_${ARCH}.tar.gz"
|
||||
if [[ ${OS} != windows ]]
|
||||
then
|
||||
local target="${PKG_OUT_PATH}/influxdb2-client-${VERSION}_${OS}_${ARCH}.tar.gz"
|
||||
|
||||
tar -czf "${target}" .
|
||||
else
|
||||
local target="${PKG_OUT_PATH}/influxdb2-client-${VERSION}_${OS}_${ARCH}.zip"
|
||||
zip -r "${target}" .
|
||||
fi
|
||||
|
||||
tar -czf "${target}" .
|
||||
|
||||
# generate signature and checksums
|
||||
generate_signature "${target}"
|
||||
@ -148,4 +155,7 @@ case ${OS} in
|
||||
darwin)
|
||||
build_archive
|
||||
;;
|
||||
windows)
|
||||
build_archive
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user