Skip to content

Commit

Permalink
Update version to 6.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
banghuazhao committed Nov 19, 2024
1 parent 0e635d2 commit 2cd91f9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ iOS/fastlane/screenshots
ios/Runner/GoogleService-Info.plist
android/app/google-services.json
ios/Flutter/Secret.xcconfig
android/fastlane/metadata
6 changes: 3 additions & 3 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ platform :android do

desc "Deploy a new version to the Google Play"
lane :deploy do
increment_version_code_time()
new_version_code = increment_version_code_time()
gradle(
task: "assemble",
build_type: "Release"
)
upload_to_play_store(
track: 'production',
version_code: new_version_code,
release_status: 'draft'
)
end
Expand Down Expand Up @@ -75,11 +76,10 @@ platform :android do
# Update the version code in pubspec.yaml
new_pubspec_content = pubspec_content.gsub(/version:\s(\d+\.\d+\.\d+)\+\d+/, "version: #{version_name}+#{new_version_code}")


# Write the updated pubspec.yaml content
File.open(pubspec_path, "w") { |file| file.puts new_pubspec_content }

# puts "Updated version code in build.gradle to #{new_version_code}"
version_code
end

end
4 changes: 2 additions & 2 deletions android/version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
versionName=6.2.0
versionCode=2024091514
versionName=6.2.1
versionCode=2024091518
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2411171930;
CURRENT_PROJECT_VERSION = 2411201103;
DEVELOPMENT_TEAM = F694X76A5X;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down Expand Up @@ -522,7 +522,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2411171930;
CURRENT_PROJECT_VERSION = 2411201103;
DEVELOPMENT_TEAM = F694X76A5X;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down Expand Up @@ -550,7 +550,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2411171930;
CURRENT_PROJECT_VERSION = 2411201103;
DEVELOPMENT_TEAM = F694X76A5X;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2411171930</string>
<string>2411201103</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>https</string>
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: swiftcomp
description: A cross-platform composite calculator developed with Flutter, based on SwiftComp, designed for engineers and researchers. Available on iOS, Android, and Web.
publish_to: none

version: 6.2.1+2024091514
version: 6.2.1+2024091518

environment:
sdk: ">=2.15.0 <3.0.0"
Expand Down Expand Up @@ -40,7 +40,7 @@ dependencies:
shared_preferences: ^2.2.3
intl: ^0.18.1
auto_size_text: ^3.0.0
fluttertoast: ^8.0.8
fluttertoast: ^8.2.8
provider: ^6.0.2
flutter_progress_hud: ^2.0.2
file: ^6.1.4
Expand Down

0 comments on commit 2cd91f9

Please sign in to comment.