Commit f2d6bfdc authored by Lucas Legrand's avatar Lucas Legrand

Reverted the tag version logic: releases have no tag, debug has -DEBUG. Changed the way you put it

parent 2b8d75ee
......@@ -48,7 +48,7 @@ It includes two parts:
pom.project {
groupId 'org.linphone.maven'
artifactId 'liblinphone-sdk'
version project.hasProperty("release") ? "4.0.0-RELEASE": "4.0.0"
version "4.0.0-RELEASE"
}
}
}
......@@ -131,4 +131,4 @@ https://docs.gradle.org/current/userguide/maven_plugin.html
https://jeroenmols.com/blog/2016/02/05/wagongit/
http://kodbiro.com/use-github-pages-as-your-own-maven-repository/
\ No newline at end of file
http://kodbiro.com/use-github-pages-as-your-own-maven-repository/
......@@ -52,8 +52,8 @@ dependencies {
}
implementation 'com.android.support:support-v4:27.0.1'
// implementation project(':liblinphone-sdk')
// releaseImplementation 'org.linphone.maven:liblinphone-sdk:4.0.0-RELEASE'
debugImplementation 'org.linphone.maven:liblinphone-sdk:4.0.0'
// releaseImplementation 'org.linphone.maven:liblinphone-sdk:4.0.0'
debugImplementation 'org.linphone.maven:liblinphone-sdk:4.0.0-DEBUG'
}
if (firebaseEnable()) {
......
......@@ -137,7 +137,8 @@ uploadArchives {
pom.project {
groupId 'org.linphone.maven'
artifactId 'liblinphone-sdk'
version project.hasProperty("release") ? "4.0.0-RELEASE": "4.0.0"
version project.hasProperty("debug") ? "4.0.0-DEBUG": "4.0.0"
}
}
}
......
......@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.linphone.maven</groupId>
<artifactId>liblinphone-sdk</artifactId>
<version>4.0.0</version>
<version>4.0.0-DEBUG</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
......
5c00da3da0855d89925542f2441207da
\ No newline at end of file
8ee0f91d34745723e56a81174dce22d126a9d4ff
\ No newline at end of file
d408b0e46a3e766ad62194684d699e1d
\ No newline at end of file
89f01e5ff2cc0385dd0335e9956640bb353b8461
\ No newline at end of file
......@@ -3,10 +3,12 @@
<groupId>org.linphone.maven</groupId>
<artifactId>liblinphone-sdk</artifactId>
<versioning>
<release>4.0.0</release>
<release>4.0.0-DEBUG</release>
<versions>
<version>4.0.0-DEBUG</version>
<version>4.0.0-RELEASE</version>
<version>4.0.0</version>
</versions>
<lastUpdated>20180705084216</lastUpdated>
<lastUpdated>20180705145710</lastUpdated>
</versioning>
</metadata>
b7cc0a168a3d455548cd70ee0f6a1fb7
\ No newline at end of file
09381a6ad5099699383381e197bdd14d
\ No newline at end of file
7a2f09eede461421aa2d1b3807d8963c5be6f851
\ No newline at end of file
5da8293a0aa4e381f50832eee263868e80c08bac
\ 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