Skip to content

Commit

Permalink
[chore] Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf committed Oct 25, 2023
1 parent da14272 commit 67dd081
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 22 deletions.
30 changes: 10 additions & 20 deletions ios/Memmy.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 46;
CURRENT_PROJECT_VERSION = 53;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = M2T765RRB4;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -406,7 +406,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 46;
CURRENT_PROJECT_VERSION = 53;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = M2T765RRB4;
INFOPLIST_FILE = Memmy/Info.plist;
Expand Down Expand Up @@ -495,14 +495,8 @@
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
Expand All @@ -517,7 +511,8 @@
"-ld_classic",
"-Wl",
"-ld_classic",
"-Wl -ld_classic ",
"-Wl",
"-ld_classic",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -576,14 +571,8 @@
);
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(inherited)",
" ",
);
OTHER_CFLAGS = "$(inherited) ";
OTHER_CPLUSPLUSFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
Expand All @@ -598,7 +587,8 @@
"-ld_classic",
"-Wl",
"-ld_classic",
"-Wl -ld_classic ",
"-Wl",
"-ld_classic",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down
2 changes: 1 addition & 1 deletion ios/Memmy/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>46</string>
<string>53</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.social-networking</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
27 changes: 26 additions & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,16 @@ platform :ios do
section_identifier: '[Unreleased]',
excluded_markdown_elements: ['-', '###']
)
build_app(workspace: "Memmy.xcworkspace", scheme: "Memmy")
build_app(
workspace: "Memmy.xcworkspace",
scheme: "Memmy",
export_method: "app-store",
export_options: {
provisioningProfiles: {
"com.gkasdorf.memmyapp" => "match AppStore com.gkasdorf.memmyapp 1698187990"
}
}
)
upload_to_testflight(
localized_build_info: {
"default": {
Expand Down Expand Up @@ -168,3 +177,19 @@ platform :ios do
)
end
end

platform :ios do
desc "Bump version and update changelog"
lane :bump do
increment_build_number(xcodeproj: "Memmy.xcodeproj")
version_number = get_version_number
build_number = get_build_number
stamp_changelog(
changelog_path: '../CHANGELOG.md',
section_identifier: "Version #{version_number} (#{build_number})",
should_stamp_date: true,
stamp_datetime_format: '%FT%TZ'
)
end
end

24 changes: 24 additions & 0 deletions ios/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,37 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

## iOS

### ios betaGithub

```sh
[bundle exec] fastlane ios betaGithub
```



### ios beta

```sh
[bundle exec] fastlane ios beta
```

Push a new beta build to TestFlight

### ios betaInternal

```sh
[bundle exec] fastlane ios betaInternal
```

Push a new beta build to TestFlight

### ios bump

```sh
[bundle exec] fastlane ios bump
```

Bump version and update changelog

----

Expand Down

0 comments on commit 67dd081

Please sign in to comment.