refactor(fixing version code issue)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
This commit is contained in:
parent
90cfe49e71
commit
0abbee615f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue