Skip to content

Commit

Permalink
Fix version number error
Browse files Browse the repository at this point in the history
  • Loading branch information
mplorentz committed Dec 21, 2023
1 parent 3923669 commit 2c4f731
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Nos.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 113;
CURRENT_PROJECT_VERSION = 130;
DEVELOPMENT_TEAM = GZCZBKH7MY;
GCC_OPTIMIZATION_LEVEL = s;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -2040,7 +2040,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 113;
CURRENT_PROJECT_VERSION = 130;
DEVELOPMENT_TEAM = GZCZBKH7MY;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
Expand Down Expand Up @@ -2187,7 +2187,7 @@
CODE_SIGN_IDENTITY = "-";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 129;
CURRENT_PROJECT_VERSION = 130;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Nos/Views/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand Down Expand Up @@ -2241,7 +2241,7 @@
CODE_SIGN_IDENTITY = "Apple Distribution: Verse Communications, Inc. (GZCZBKH7MY)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution: Verse Communications, Inc. (GZCZBKH7MY)";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 129;
CURRENT_PROJECT_VERSION = 130;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Nos/Views/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand Down Expand Up @@ -2287,7 +2287,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 113;
CURRENT_PROJECT_VERSION = 130;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = GZCZBKH7MY;
GCC_OPTIMIZATION_LEVEL = 0;
Expand All @@ -2313,7 +2313,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 113;
CURRENT_PROJECT_VERSION = 130;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = GZCZBKH7MY;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -2337,7 +2337,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 113;
CURRENT_PROJECT_VERSION = 130;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = GZCZBKH7MY;
GCC_OPTIMIZATION_LEVEL = 0;
Expand All @@ -2362,7 +2362,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 113;
CURRENT_PROJECT_VERSION = 130;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = GZCZBKH7MY;
GENERATE_INFOPLIST_FILE = YES;
Expand Down
2 changes: 2 additions & 0 deletions Nos/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand Down
4 changes: 4 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ platform :ios do
match(type: "appstore", readonly: is_ci)
end

version_number = get_version_number(
xcodeproj: "Nos.xcodeproj",
target: "Nos"
)
increment_build_number({
build_number: latest_testflight_build_number + 1
})
Expand Down
10 changes: 9 additions & 1 deletion fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,21 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

## iOS

### ios dev

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

Push a new development build to TestFlight

### ios beta

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

Push a new beta build to TestFlight
Mark a deployed commit as a beta

### ios certs

Expand Down

0 comments on commit 2c4f731

Please sign in to comment.