F-Droid can't build
What are we missing? https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/14070307528#L437
My bad after pushing the correct code, do I need to publish a new release with a different tag, or can I just delete the v1.3.5 tag and recreate it pointing to the new commit?
@IzzySoft might have picked it up already, hence do create a new tag pls
I will create a new tag then Thanks!
Please bump the version for the new tag.
will do
Fails as well:
> Task :app:kspReleaseKotlin FAILED
w: [ksp] /build/repo/app/src/main/java/com/opennotes/feature_node/data/data_source/NoteDatabase.kt:30: Schema export directory was not provided to the annotation processor so Room cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument by applying the Room Gradle plugin (id 'androidx.room') OR set exportSchema to false.
e: file:///build/repo/app/src/main/java/com/opennotes/feature_node/presentation/settings/SettingsScreen.kt:333:58 Unexpected tokens (use ';' to separate expressions on the same line)
[Incubating] Problems report is available at: file:///build/repo/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:kspReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
Are you using your Github action to build the APK β or do you build on your local machine, maybe with totally different settings than indicated here? Like, a different JDK? I've tried with 17 and 21, no dice.
Task :app:kspReleaseKotlin FAILED w: [ksp] /build/repo/app/src/main/java/com/opennotes/feature_node/data/data_source/NoteDatabase.kt:30: Schema export directory was not provided to the annotation processor so Room cannot export the schema. You can either provide
room.schemaLocationannotation processor argument by applying the Room Gradle plugin (id 'androidx.room') OR set exportSchema to false. e: file:///build/repo/app/src/main/java/com/opennotes/feature_node/presentation/settings/SettingsScreen.kt:333:58 Unexpected tokens (use ';' to separate expressions on the same line)
This was a project error previously which I fixed. I am building the apk locally on my machine, using jdk 23. I will release a new apk v1.3.6 with a new versionCode and versionName
using jdk 23
That's not an LTS, it might break RB. Can you use 21 or 25 instead?
I will swich to using jdk 21
Thanks! Please give us a ping then when the release is ready, so we can check π€
@IzzySoft I have created a new release now please check
Thanks
Failed here. Need to figure why, give me a littleβ¦
Edit: first finding, you did not increase versionCode β which makes further checks obsolete, as that release won't be picked up anyway.
I did increase the version code
Maybe after you tagged the release?
],
"9": [
"v1.3.5",
"v1.3.6"
]
Ah, OK β and then changed it again it seems. OK, starting a 3rd run hereβ¦
Sorry, no idea what you've done there β but v1.3.6 was already in our logs yesterday. As we work append-only, I'm afraid no repair for that then. I did perform a forced manual run (without touching the logs), so what is currently at v1.3.6 is RB. But what was at v1.3.6 yesterday was not. That's why we say: Never replace what was already distributed β it too often just causes a mess π’
So: sorry, but this will need to wait for the next release to be fixed β hopefully with less "jumping around" π
Edit: No idea WTF was going on there. Checking the logs in our git, there is a v1.3.6 marked "RB" with a run from yesterday β but no v1.3.5. But here at releases, v1.3.6 was only created today β so you must have deleted and recreated it. What failed was v1.3.5. Being fetched after 1.3.6 means it must (at least at the time of being fetched) have had a timestamp newer than the one of 1.3.6, Checking the two commitsβ¦ now, that indeed looks _very_strange:
As if both tags, v1.3.5 and v1.3.6, point to this commit. Or did at some point. Sorry, I give up β waiting for 1.3.7β¦
I had actually created the v1.3.6 tag earlier and the v1.3.6 apk had the older version code(9) same as the v1.3.5. I deleted the v1.3.6 tag now and published a new apk v1.3.6
Sorry, won't work: 1.3.6 has already been processed. As I just wrote (and you most likely missed, so in bold this time): Never replace what was already distributed!
[!CAUTION] Never replace what was already distributed
π π π π² π² π²
I will keep this in mind.