Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Nov 24, 2023
2 parents 386cc5a + 1a1f420 commit 0e291b7
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 6 deletions.
4 changes: 4 additions & 0 deletions fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
app_identifier(ENV["APP_IDENTIFIER"]) # The bundle identifier of your app
apple_id(ENV["APPLE_ID"]) # Your Apple email ID
itc_team_id(ENV["ITC_TEAM_ID"]) # App Store Connect Team ID
team_id(ENV["TEAM_ID"]) # Developer Portal Team ID
63 changes: 63 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
desc "Deploy to TestFlight"
lane :deploy do
# Ensure git status is clean
ensure_git_status_clean

# Increment the build number
increment_build_number(xcodeproj: "ios/BlueWallet.xcodeproj") # Update path as needed

# Install pods
cocoapods(repo_update: true)

# Match - Synchronize certificates and provisioning profiles
match(type: "appstore", readonly: true) # Set readonly to false if you want to generate new profiles

# Build the app
build_app(
scheme: "BlueWallet", # Update the scheme name if different
workspace: "ios/BlueWallet.xcworkspace", # Update workspace path
export_method: "app-store", # Use 'app-store' for TestFlight
include_bitcode: true,
include_symbols: true
)

# Upload to TestFlight
upload_to_testflight(skip_waiting_for_build_processing: true) # Set to false to wait for processing

# Clean up build artifacts
clean_build_artifacts

# Commit the version bump
commit_version_bump(
xcodeproj: "ios/BlueWallet.xcodeproj", # Update path as needed
message: "Increment version number [skip ci]"
)

# Ensure git status is clean after version bump
ensure_git_status_clean

# Optionally, add a tag for the new version
add_git_tag(tag: get_version_number + "." + get_build_number)

# Push changes back to the repository
push_to_git_remote
end
end
13 changes: 13 additions & 0 deletions fastlane/Matchfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
git_url(ENV["GIT_URL"])

storage_mode("git")

type("appstore") # The default type, can be: appstore, adhoc, enterprise or development

app_identifier(["io.bluewallet.bluewallet"])
username(ENV["APPLE_ID"]) # Your Apple Developer Portal username

# For all available options run `fastlane match --help`
# Remove the # in the beginning of the line to enable the other options

# The docs are available on https://docs.fastlane.tools/actions/match
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@
},
"dependencies": {
"@babel/preset-env": "^7.20.0",
"@bugsnag/react-native": "7.21.0",
"@bugsnag/react-native": "7.22.2",
"@bugsnag/source-maps": "2.3.1",
"@keystonehq/bc-ur-registry": "0.6.4",
"@ngraveio/bc-ur": "1.1.6",
"@noble/secp256k1": "1.6.3",
"@react-native-async-storage/async-storage": "1.19.5",
"@react-native-async-storage/async-storage": "1.19.8",
"@react-native-clipboard/clipboard": "1.12.1",
"@react-native-community/push-notification-ios": "1.11.0",
"@react-navigation/drawer": "6.6.6",
Expand Down Expand Up @@ -155,11 +155,11 @@
"react-native-elements": "3.4.3",
"react-native-fingerprint-scanner": "https://github.com/BlueWallet/react-native-fingerprint-scanner#ce644673681716335d786727bab998f7e632ab5e",
"react-native-fs": "2.20.0",
"react-native-gesture-handler": "2.13.4",
"react-native-gesture-handler": "2.14.0",
"react-native-handoff": "https://github.com/BlueWallet/react-native-handoff#31d005f93d31099d0e564590a3bbd052b8a02b39",
"react-native-haptic-feedback": "2.2.0",
"react-native-idle-timer": "https://github.com/BlueWallet/react-native-idle-timer#8587876d68ab5920e79619726aeca9e672beaf2b",
"react-native-image-picker": "7.0.2",
"react-native-image-picker": "7.0.3",
"react-native-ios-context-menu": "github:BlueWallet/react-native-ios-context-menu#v1.15.3",
"react-native-keychain": "8.1.2",
"react-native-linear-gradient": "2.8.3",
Expand All @@ -185,10 +185,10 @@
"react-native-tor": "0.1.8",
"react-native-vector-icons": "10.0.2",
"react-native-watch-connectivity": "1.1.0",
"react-native-webview": "13.6.2",
"react-native-webview": "13.6.3",
"react-native-widget-center": "https://github.com/BlueWallet/react-native-widget-center#a128c38",
"readable-stream": "3.6.2",
"realm": "12.3.0",
"realm": "12.3.1",
"rn-ldk": "github:BlueWallet/rn-ldk#v0.8.4",
"rn-nodeify": "10.3.0",
"scryptsy": "2.1.0",
Expand Down

0 comments on commit 0e291b7

Please sign in to comment.