build: return .gitkeep file after removing assets to prevent Git see the deletion

This commit is contained in:
KaMeHb-UA 2024-08-23 19:57:22 +03:00
parent 1e01ba0e19
commit 4d62039dd4
No known key found for this signature in database
GPG key ID: 9474A87673D7A75A

View file

@ -1,5 +1,7 @@
#!/bin/sh -ve
rm -r assets/js/package
mkdir -p assets/js/package
touch assets/js/package/.gitkeep
OLM_VERSION=$(cat pubspec.yaml | yq .dependencies.flutter_olm)
DOWNLOAD_PATH="https://github.com/famedly/olm/releases/download/v$OLM_VERSION/olm.zip"