From 7063023d95e166fce943aa26c37b7b27b6d1cfe3 Mon Sep 17 00:00:00 2001 From: DrunkBatya Date: Wed, 27 Dec 2023 14:24:35 +0300 Subject: [PATCH] Add bundling self-updater package --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49f475c2f23..5ed7eebb7e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,6 +64,18 @@ jobs: -C assets resources done + - name: 'Bundle self-update package' + if: ${{ !github.event.pull_request.head.repo.fork }} + run: | + set -e + for UPDATEBUNDLE in artifacts/*/ + do + BUNDLE_NAME=`echo $UPDATEBUNDLE | cut -d'/' -f2` + echo Packaging ${BUNDLE_NAME} + tar czpf artifacts/flipper-z-${BUNDLE_NAME}.tgz -C artifacts ${BUNDLE_NAME} + rm -rf artifacts/${BUNDLE_NAME} + done + - name: "Check for uncommitted changes" run: | git diff --exit-code