Merge branch 'main' into candidate

This commit is contained in:
xmflsct 2022-09-21 21:56:06 +02:00
commit ba1ad2682b
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,6 +144,7 @@ lane :android do
end
lane :release do
if ENVIRONMENT == 'release'
build_android_apk
set_github_release(
repository_name: GITHUB_REPO,
@ -151,8 +152,9 @@ lane :release do
tag_name: GITHUB_RELEASE,
description: "No changelog provided",
commitish: git_branch,
is_prerelease: ENVIRONMENT == 'candidate',
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'