Commit 1ae9bf9b authored by Javier Romero's avatar Javier Romero

get version from build.gradle

parent 8cd9b32a
......@@ -7,4 +7,4 @@
### Fixed
- Upgrade support libraries for current target.
- Resolve http://crashes.to/s/107437021a3
\ No newline at end of file
- Resolve http://crashes.to/s/107437021a3
......@@ -33,8 +33,10 @@ android {
defaultConfig {
applicationId "app.devlife.connect2sql"
versionCode 4_000_004
versionName "4.0.4"
versionName "4.0.5"
versionCode versionName.tokenize(".").withIndex().collect { v, index ->
return index == 0 ? v : String.format("%03d", Integer.parseInt(v, 10))
}.join().toInteger()
minSdkVersion 23
targetSdkVersion 28
......
......@@ -32,11 +32,10 @@ platform :android do
end
lane :release do |options|
version_name = android_get_version_name
puts android_get_version_name
# stamp_changelog(
# section_identifier: '4.0.5'
# )
stamp_changelog(
section_identifier: version_name
)
end
end
\ No newline at end of file
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=1024m -Xms512m
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=1024m -Xms512m
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment