mirror of https://github.com/tooot-app/app
Merge branch 'main' into candidate
This commit is contained in:
commit
ba1ad2682b
|
@ -10,7 +10,6 @@ export default (): ExpoConfig => ({
|
||||||
version,
|
version,
|
||||||
extra: { environment: process.env.ENVIRONMENT },
|
extra: { environment: process.env.ENVIRONMENT },
|
||||||
privacy: 'hidden',
|
privacy: 'hidden',
|
||||||
assetBundlePatterns: ['assets/*'],
|
|
||||||
hooks: {
|
hooks: {
|
||||||
postPublish: [
|
postPublish: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -144,6 +144,7 @@ lane :android do
|
||||||
end
|
end
|
||||||
|
|
||||||
lane :release do
|
lane :release do
|
||||||
|
if ENVIRONMENT == 'release'
|
||||||
build_android_apk
|
build_android_apk
|
||||||
set_github_release(
|
set_github_release(
|
||||||
repository_name: GITHUB_REPO,
|
repository_name: GITHUB_REPO,
|
||||||
|
@ -151,8 +152,9 @@ lane :release do
|
||||||
tag_name: GITHUB_RELEASE,
|
tag_name: GITHUB_RELEASE,
|
||||||
description: "No changelog provided",
|
description: "No changelog provided",
|
||||||
commitish: git_branch,
|
commitish: git_branch,
|
||||||
is_prerelease: ENVIRONMENT == 'candidate',
|
is_prerelease: false,
|
||||||
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
|
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
|
||||||
)
|
)
|
||||||
|
end
|
||||||
rocket
|
rocket
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
transformer: {
|
transformer: { inlineRequires: true }
|
||||||
assetPlugins: ['expo-asset/tools/hashAssetFiles'],
|
|
||||||
inlineRequires: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@ import {
|
||||||
getSettingsLanguage
|
getSettingsLanguage
|
||||||
} from '@utils/slices/settingsSlice'
|
} from '@utils/slices/settingsSlice'
|
||||||
import ThemeManager from '@utils/styles/ThemeManager'
|
import ThemeManager from '@utils/styles/ThemeManager'
|
||||||
import 'expo-asset'
|
|
||||||
import * as SplashScreen from 'expo-splash-screen'
|
import * as SplashScreen from 'expo-splash-screen'
|
||||||
import React, { useCallback, useEffect, useState } from 'react'
|
import React, { useCallback, useEffect, useState } from 'react'
|
||||||
import { LogBox, Platform } from 'react-native'
|
import { LogBox, Platform } from 'react-native'
|
||||||
|
|
Loading…
Reference in New Issue