Skip to content

Commit

Permalink
Done.
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Dec 22, 2024
1 parent d01bd7b commit f194c6d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.4.6 - 2024-12-22

- Updates in the underlying libaries.


## 1.4.4 - 2024-07-27

- Minor improvements in the user interface, the app now targets Android API 34.
13 changes: 11 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ platform :android do
lane :metadata do
# Update Changelog files
matches = File.read("../CHANGELOG.md").scan(/^## \s*\[?(.*?)\]?\s*-\s*.*?\n(.*?)(?=^## |\z)/m)
latest_version, changelog_text = matches.last
latest_version, changelog_text = matches.first
major, minor, patch = latest_version.split('.').map(&:to_i)
version_code = 100000 * major + 1000 * minor + patch
File.write("metadata/android/en-US/#{version_code}.txt", changelog_text.strip)
Expand All @@ -68,6 +68,15 @@ platform :android do
metadata
upload_to_play_store(aab: 'build/addhoursandminutes.aab', track: 'beta')
end

desc "Promote Beta to Release"
lane :promoteBetaToRelease do
matches = File.read("../CHANGELOG.md").scan(/^## \s*\[?(.*?)\]?\s*-\s*.*?\n(.*?)(?=^## |\z)/m)
latest_version, changelog_text = matches.first
major, minor, patch = latest_version.split('.').map(&:to_i)
version_code = 100000 * major + 1000 * minor + patch
upload_to_play_store(track: 'beta', track_promote_to: 'production', version_code: version_code)
end
end

platform :linux do
Expand Down Expand Up @@ -96,7 +105,7 @@ platform :linux do
end


platform :macos do
platform :mac do
desc "Build macOS Bundle"
lane :build do
# Clean up previous builds
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/104006.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updates in the underlying libaries.

0 comments on commit f194c6d

Please sign in to comment.