fix: permission of web builds

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2023-01-03 07:32:59 +01:00
parent fd152baa28
commit 6ff4f480ac
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -10,7 +10,6 @@
.buildlog/
.history
.svn/
lib/generated_plugin_registrant.dart
prime
# libolm package
@ -38,7 +37,6 @@ prime
/build/
# Web related
lib/generated_plugin_registrant.dart
docs/build/
docs/.jekyll-cache/
docs/_site/

View File

@ -339,7 +339,8 @@ upload_android:
upload_web:
extends: .release
script:
- tar czf package.tar.gz -C build/web/ .
# workaround bug of Flutter engine
- tar czf package.tar.gz --ignore-failed-read -C build/web/ .
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz

View File

@ -3,3 +3,5 @@ flutter config --enable-web
flutter clean
flutter pub get
flutter build web --release --verbose --source-maps
# bug of the Flutter engine
chmod +r -R build/web