Skip to content

Commit

Permalink
Release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MrApplejuice committed Mar 5, 2024
1 parent 0935c53 commit d403415
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ android {
applicationId "eu.pkgsoftware.babybuddywidgets"
minSdkVersion 24
targetSdkVersion 33
versionCode 32
versionName "2.3.0b"
versionCode 34
versionName "2.3.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
10 changes: 9 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ platform :android do

desc "Update version"
lane :updateVersion do
new_version = prompt(text: "What to version? ")
File.open("../app/build.gradle", "r") do |f|
f.each_line do |line|
if line.include? "versionName"
print "Current version: ", line.split(" ")[1], "\n"
end
end
end

new_version = prompt(text: "New version number: ")
android_set_version_code(
gradle_file: "app/build.gradle",
version_code: android_get_version_code(gradle_file: "app/build.gradle").to_i + 1,
Expand Down

0 comments on commit d403415

Please sign in to comment.