From 0abbee615f7fc65d5035fda5df488026da2f0b2d Mon Sep 17 00:00:00 2001 From: Lee Date: Mon, 30 Oct 2023 14:37:28 +0100 Subject: [PATCH] refactor(fixing version code issue) Co-authored-by: Sebastian Palmqvist --- apps/skolplattformen-app-new/android/fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/skolplattformen-app-new/android/fastlane/Fastfile b/apps/skolplattformen-app-new/android/fastlane/Fastfile index b57760082..e2eae7d41 100755 --- a/apps/skolplattformen-app-new/android/fastlane/Fastfile +++ b/apps/skolplattformen-app-new/android/fastlane/Fastfile @@ -28,7 +28,7 @@ platform :android do ENV['GITTAGNAME'] = ENV['VERSION_NAME'].gsub(/\s+/, '').match(/\((.*?)\)/)[1] + '.' + ENV['VERSION_CODE'] ENV['SUPPLY_VERSION_NAME'] = ENV['VERSION_NAME'] increment_version_code( - gradle_file_path: "../app/build.gradle", + gradle_file_path: File.join(Dir.pwd, '..', 'app', "build.gradle"), ) versionFile = File.join(Dir.pwd, '..', 'version', 'version.properties').to_s commandargs = "-n \"VERSION=#{ENV['VERSION_NAME']}\" > #{versionFile}".to_s