Update build

This commit is contained in:
Hillel Coren 2021-10-12 13:40:30 +03:00
parent fca9149ed1
commit 24add35652
3 changed files with 17 additions and 26 deletions

View File

@ -44,7 +44,7 @@ jobs:
sentry-cli --auth-token ${{secrets.sentry_auth_token}} --url ${{secrets.sentry_url}} releases --org ${{secrets.sentry_org}} new $SENTRY_RELEASE --project ${{secrets.sentry_project}}
sentry-cli --auth-token ${{secrets.sentry_auth_token}} --url ${{secrets.sentry_url}} releases --org ${{secrets.sentry_org}} set-commits --auto $SENTRY_RELEASE
flutter build web --web-renderer html --release --dart-define=SENTRY_RELEASE=$SENTRY_RELEASE --source-maps
flutter build web --dart-define=SENTRY_RELEASE=$SENTRY_RELEASE --source-maps
sed -i '/index.html/d' build/web/flutter_service_worker.js
@ -69,22 +69,9 @@ jobs:
sentry-cli --auth-token ${{secrets.sentry_auth_token}} --url ${{secrets.sentry_url}} releases --org ${{secrets.sentry_org}} finalize $SENTRY_RELEASE
sentry-cli --auth-token ${{secrets.sentry_auth_token}} --url ${{secrets.sentry_url}} releases --org ${{secrets.sentry_org}} deploys $SENTRY_RELEASE new -e production
- name: Build WASM App
run: |
flutter build web --web-renderer canvaskit --release
git clone https://${{secrets.commit_secret}}@github.com/invoiceninja/invoiceninja.git invoiceninja_wasm
cd invoiceninja_wasm
git checkout v5-develop
cp ../build/web/main.dart.js ./public/main.wasm.dart.js
git add .
git commit -m 'Admin Portal - WASM'
git push
cd ..
- name: Build Profile App
run: |
flutter build web --web-renderer html --profile
flutter build web --profile
git clone https://${{secrets.commit_secret}}@github.com/invoiceninja/invoiceninja.git invoiceninja_profile
cd invoiceninja_profile
@ -143,7 +130,7 @@ jobs:
echo ";" >> lib/flutter_version.dart
- name: Build Hosted App
run: |
flutter build web --web-renderer html --release
flutter build web
sed -i '/index.html/d' build/web/flutter_service_worker.js
@ -190,7 +177,7 @@ jobs:
echo ";" >> lib/flutter_version.dart
- name: Build Hosted App
run: |
flutter build web --web-renderer html --release
flutter build web
sed -i '/index.html/d' build/web/flutter_service_worker.js

View File

@ -249,6 +249,8 @@ const String kGatewayTypeBancontact = '12';
const String kGatewayTypeIDeal = '13';
const String kGatewayTypeGiropay = '14';
const String kGatewayTypePrzelewy24 = '15';
const String kGatewayTypeFPX = '16';
const String kGatewayTypeEPS = '17';
const kGatewayTypes = {
kGatewayTypeCreditCard: 'credit_card',
@ -268,7 +270,6 @@ const kGatewayTypes = {
kGatewayTypePrzelewy24: 'przelewy24',
kGatewayTypeFPX: 'fpx',
kGatewayTypeEPS: 'eps',
};
const String kNotificationChannelEmail = 'email';

View File

@ -18,9 +18,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
'view_statement': 'View Statement',
'sepa': 'SEPA',
'ideal': 'iDEAL',
'przelewy24': 'Przelewy24',
'eps' : 'EPS',
'fpx' : 'FPX',
'przelewy24': 'Przelewy24',
'eps': 'EPS',
'fpx': 'FPX',
'update_all_records': 'Update all records',
'system': 'System',
'set_default_company': 'Set Default Company',
@ -62683,10 +62683,12 @@ mixin LocalizationsProvider on LocaleCodeAware {
_localizedValues[localeCode]['sepa'] ?? _localizedValues['en']['sepa'];
String get giropay =>
_localizedValues[localeCode]['giropay'] ?? _localizedValues['en']['giropay'];
_localizedValues[localeCode]['giropay'] ??
_localizedValues['en']['giropay'];
String get przelewy24 =>
_localizedValues[localeCode]['przelewy24'] ?? _localizedValues['en']['przelewy24'];
_localizedValues[localeCode]['przelewy24'] ??
_localizedValues['en']['przelewy24'];
String get eps =>
_localizedValues[localeCode]['eps'] ?? _localizedValues['en']['eps'];
@ -62695,7 +62697,8 @@ mixin LocalizationsProvider on LocaleCodeAware {
_localizedValues[localeCode]['fpx'] ?? _localizedValues['en']['fpx'];
String get bancontact =>
_localizedValues[localeCode]['bancontact'] ?? _localizedValues['en']['bancontact'];
_localizedValues[localeCode]['bancontact'] ??
_localizedValues['en']['bancontact'];
String get viewStatement =>
_localizedValues[localeCode]['view_statement'] ??