Skip to content

Commit

Permalink
Add bundling self-updater package
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed Dec 27, 2023
1 parent 76bd35d commit 7063023
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7063023

Please sign in to comment.