1
0
mirror of https://github.com/tooot-app/app synced 2024-12-26 09:23:56 +01:00

Try building again

This commit is contained in:
xmflsct 2022-09-21 21:55:58 +02:00
parent 838dfdb4a3
commit 800ebe989d
4 changed files with 13 additions and 16 deletions

View File

@ -10,7 +10,6 @@ export default (): ExpoConfig => ({
version,
extra: { environment: process.env.ENVIRONMENT },
privacy: 'hidden',
assetBundlePatterns: ['assets/*'],
hooks: {
postPublish: [
{

View File

@ -144,15 +144,17 @@ lane :android do
end
lane :release do
build_android_apk
set_github_release(
repository_name: GITHUB_REPO,
name: GITHUB_RELEASE,
tag_name: GITHUB_RELEASE,
description: "No changelog provided",
commitish: git_branch,
is_prerelease: ENVIRONMENT == 'candidate',
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
)
if ENVIRONMENT == 'release'
build_android_apk
set_github_release(
repository_name: GITHUB_REPO,
name: GITHUB_RELEASE,
tag_name: GITHUB_RELEASE,
description: "No changelog provided",
commitish: git_branch,
is_prerelease: false,
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
)
end
rocket
end

View File

@ -1,6 +1,3 @@
module.exports = {
transformer: {
assetPlugins: ['expo-asset/tools/hashAssetFiles'],
inlineRequires: true
}
transformer: { inlineRequires: true }
}

View File

@ -16,7 +16,6 @@ import {
getSettingsLanguage
} from '@utils/slices/settingsSlice'
import ThemeManager from '@utils/styles/ThemeManager'
import 'expo-asset'
import * as SplashScreen from 'expo-splash-screen'
import React, { useCallback, useEffect, useState } from 'react'
import { LogBox, Platform } from 'react-native'