You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ml...@apache.org on 2013/02/06 18:05:44 UTC
git commit: let ci server build without any minor release
specifications
Updated Branches:
refs/heads/master b06d19a36 -> 69a6c3ead
let ci server build without any minor release specifications
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/69a6c3ea
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/69a6c3ea
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/69a6c3ea
Branch: refs/heads/master
Commit: 69a6c3ead3bebcd4c5ed2fc1397fe25329f58656
Parents: b06d19a
Author: Massimo Lusetti <ml...@apache.org>
Authored: Wed Feb 6 18:04:28 2013 +0100
Committer: Massimo Lusetti <ml...@apache.org>
Committed: Wed Feb 6 18:04:28 2013 +0100
----------------------------------------------------------------------
build.gradle | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/69a6c3ea/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 13fbbda..a0556b5 100755
--- a/build.gradle
+++ b/build.gradle
@@ -25,12 +25,16 @@ project.ext.versions = [
]
// Provided so that the CI server can override the normal version number for nightly builds.
-project.version = "5.4-alpha-3" + suffix()
+project.version = tapestryVersion()
+
+def tapestryVersion() {
+
+ def major = "5.4"
+ def minor = "-alpha-4"
-def suffix() {
// When building on the CI server, make sure -SNAPSHOT is appended, as it is a nightly build.
// When building normally, or for a release, no suffix is desired.
- Boolean.getBoolean("ci") ? "-SNAPSHOT" : ""
+ Boolean.getBoolean("ci") ? major + "-SNAPSHOT" : major + minor
}
// Let analysis.apache.org get in touch with our builds