Skip to content

Commit

Permalink
create bundle for static packages
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Mar 29, 2022
1 parent 4537b98 commit fad8dbf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions static/build-static
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,15 @@ case ${TARGETOS} in
)
;;
esac

# create bundle
bundlePlatform="${TARGETOS}-${TARGETARCH}"
if [ -n "$TARGETVARIANT" ]; then
bundlePlatform="${bundlePlatform}-${TARGETVARIANT}"
fi
(
set -x
cd "${buildDir}"
rm -r */
tar -zvcf "${CURDIR}/build/bundles-ce-static-${bundlePlatform}.tar.gz" .
)

0 comments on commit fad8dbf

Please sign in to comment.