From 26d8dd2ad78c8d3c8fc2b952655522046338524a Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Mon, 5 Jan 2026 10:39:15 +0100 Subject: [PATCH] Fastfile: support to create GH release Signed-off-by: tobiasKaminsky --- fastlane/Fastfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 66c227c7a..1bab82a54 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -56,7 +56,7 @@ desc "Build app bundle" preReleaseChecks(versionInfo: versionInfo, tagName: tagName, type: versionComponents["type"], track: storeTrack) checkArtifactsExist() tag(name: tagName) - createGithubRelease_RC(name: versionInfo["versionName"], tag: tagName, versionCode: versionInfo["versionCode"]) + createGithubRelease(name: versionInfo["versionName"], tag: tagName, versionCode: versionInfo["versionCode"], track: storeTrack) uploadToPlayStore(track: storeTrack) end @@ -147,8 +147,9 @@ desc "Build app bundle" api_token: ENV["FASTLANE_NEXTCLOUD_GITHUB_API_TOKEN"], name: options[:name], tag_name: options[:tag], + is_prerelease: options[:track] == 'beta' ? true : false, description: (File.read("metadata/android/en-US/changelogs/" + options[:versionCode] + ".txt") rescue "No changelog provided"), - upload_assets: [ "release/nextcloud-notes-" + options[:versionCode] + ".apk" ] + upload_assets: [ "release/nextcloud-notes-" + options[:versionCode].to_s + ".apk" ] ) end