Skip to content
Snippets Groups Projects
Commit fd8d51ac authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

increased version number

fixed problems with cargo deploy
parent c8fa4e80
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ import org.apache.tools.ant.filters.ReplaceTokens ...@@ -20,7 +20,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
// Basic settings // Basic settings
group = 'it.unibz.inf.isochrone' group = 'it.unibz.inf.isochrone'
version = '0.2.2-SNAPSHOT' version = '0.2.3-SNAPSHOT'
description = 'PhD project of Nikolaus Krismer' description = 'PhD project of Nikolaus Krismer'
sourceCompatibility=1.7 sourceCompatibility=1.7
...@@ -72,9 +72,15 @@ gradle.taskGraph.whenReady {taskGraph -> ...@@ -72,9 +72,15 @@ gradle.taskGraph.whenReady {taskGraph ->
if (version.endsWith('-SNAPSHOT')) { if (version.endsWith('-SNAPSHOT')) {
println "Building SNAPSHOT version $version" println "Building SNAPSHOT version $version"
cargo.deployable {
context = 'testing'
}
} else { } else {
isRelease = true; isRelease = true;
println "Building RELEASE version $version" println "Building RELEASE version $version"
cargo.deployable {
context = 'isochrone'
}
} }
} }
...@@ -150,9 +156,7 @@ cargo { ...@@ -150,9 +156,7 @@ cargo {
containerId = cargoContainer containerId = cargoContainer
port = cargoPort as int port = cargoPort as int
deployable { // deployable part is set by versioning above
context = "${isRelease ? 'isochrone' : 'testing'}"
}
remote { remote {
hostname = cargoHostname hostname = cargoHostname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment