Skip to content

Commit

Permalink
Improve fastlane metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 19, 2024
1 parent d8e3278 commit f2db80b
Show file tree
Hide file tree
Showing 30 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
tag_name: v${{ env.FLOW_VERSION }}
name: v${{ env.FLOW_VERSION }}
token: ${{ secrets.CI_PAT }}
body_path: fastlane/metadata/android/en-US/changelogs/${{ env.FLOW_BUILD_NUMBER }}.txt
body_path: metadata/en-US/changelogs/${{ env.FLOW_BUILD_NUMBER }}.txt
- name: Retag stable
if: ${{ github.event.inputs.stable == 'true' || github.ref == 'refs/heads/main' }}
run: |
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
FLOW_BUILD_NUMBER="${BASH_REMATCH[2]}"
echo "FLOW_BUILD_NUMBER=${FLOW_BUILD_NUMBER}" >> $GITHUB_ENV
echo 'FLOW_CHANGELOG<<EOF' >> $GITHUB_ENV
cat fastlane/metadata/android/en-US/changelogs/${FLOW_BUILD_NUMBER}.txt >> $GITHUB_ENV
cat metadata/en-US/changelogs/${FLOW_BUILD_NUMBER}.txt >> $GITHUB_ENV
echo '' >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Discord Webhook Action
Expand Down
2 changes: 1 addition & 1 deletion app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdk 33
compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.3.2'
classpath 'com.android.tools.build:gradle:8.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae
distributionSha256Sum=544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d
1 change: 1 addition & 0 deletions metadata/dev.linwood.flow.nightly/en-US/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Linwood Flow Nightly
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
* Improve dialogs to go full screen on mobile
* Use default page transition instead of fade
* Unify select dialogs
* Upgrade to flutter 3.19
* Fix locale translations
* Fix week system in calendar week view
* Fix switching from moment to appointment doesn't update the dialog
* Upgrade to flutter 3.19 and 3.22

Read more here: https://linwood.dev/flow/0.3
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
3 changes: 1 addition & 2 deletions tools/set_version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ Future<void> main(List<String> args) async {
await updateAppImageVersion(version);
await updateDebianVersion(version);
if (results['changelog']) {
var changelogFile =
File('fastlane/metadata/android/en-US/changelogs/$newBuildNumber.txt');
var changelogFile = File('metadata/en-US/changelogs/$newBuildNumber.txt');
var changelog = await changelogFile.readAsString();
await updateChangelog(version, changelog);
await updateAppData(version);
Expand Down

0 comments on commit f2db80b

Please sign in to comment.