diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b58f9646d..d116161537 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,10 @@ jobs: name: Build run: | make TARGETPLATFORM=${{ matrix.platform }} static + - + name: List files + run: | + tree -nh ./static/build - name: Upload static packages uses: actions/upload-artifact@v2 diff --git a/static/build-static b/static/build-static index b2b21adcd5..87fe3f4c25 100755 --- a/static/build-static +++ b/static/build-static @@ -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" . +)