forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Centralize project version to version.txt
This patch changes the Java and Python builds to use the version.txt as their source of the project version. This simplifies branching and ensures our versions always match. I use symbolic links in the python project to ensure that the version and licence file are copied from the parent directory when generating a source distribution. This patch also corrects the versioning of snapshot builds to ensure they include .dev0. This was being done in the kudu/version.py file, but not in the distribution version set in setup(…). Change-Id: Ib654be8657ae3dc2f193056484b5d0743aa1ce95 Reviewed-on: http://gerrit.cloudera.org:8080/11735 Tested-by: Kudu Jenkins Reviewed-by: <[email protected]> Reviewed-by: Adar Dembo <[email protected]>
- Loading branch information
1 parent
0b2fef4
commit dc71ab7
Showing
7 changed files
with
31 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,12 +85,7 @@ branch with the same name and the previously-noted SHA1. | |
|
||
. Check out the `master` branch and bump the version in `version.txt`. | ||
|
||
. Update the version in `java/gradle.properties`. | ||
|
||
. If the python API has changed since the previous release, bump the Python version | ||
in `python/setup.py` in master. (the Python API uses separate versioning). | ||
|
||
. After all the versions are updated, commit and push that change to Gerrit. | ||
. Commit and push that change to Gerrit. | ||
|
||
. Notify [email protected] that the new branch is available. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../version.txt |