fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [2/2] incubator-fluo-recipes git commit: Modified rc script and pom for generating release candidates
Date Thu, 20 Oct 2016 22:04:31 GMT
Modified rc script and pom for generating release candidates


Project: http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/commit/5279878b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/tree/5279878b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/diff/5279878b

Branch: refs/heads/master
Commit: 5279878bc87d7f056824a87b9631eb4c417513d6
Parents: ba3c727
Author: Keith Turner <keith@deenlo.com>
Authored: Thu Oct 20 16:27:58 2016 -0400
Committer: Keith Turner <keith@deenlo.com>
Committed: Thu Oct 20 17:15:21 2016 -0400

----------------------------------------------------------------------
 contrib/create-release-candidate.sh | 20 +++++++++-----------
 pom.xml                             | 14 ++++++++++++++
 2 files changed, 23 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/blob/5279878b/contrib/create-release-candidate.sh
----------------------------------------------------------------------
diff --git a/contrib/create-release-candidate.sh b/contrib/create-release-candidate.sh
index c79db19..0c22468 100755
--- a/contrib/create-release-candidate.sh
+++ b/contrib/create-release-candidate.sh
@@ -73,7 +73,7 @@ createEmail() {
 
   local branch; branch=$ver-rc$rc
   local commit; commit=$(gitCommit "$branch") || exit 1
-  local tag; tag=rel/fluo-$ver
+  local tag; tag=rel/fluo-recipes-$ver
   echo
   yellow  "IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!!"
   echo
@@ -83,7 +83,7 @@ createEmail() {
   echo
   echo    "    Remember, $(red DO NOT PUSH) the $(red "$tag") tag until after the vote"
   echo    "    passes and the tag is re-made with a gpg signature using:"
-  echo    "      $(red "git tag -f -m 'Apache Fluo $ver' -s $tag ${commit:0:7}")"
+  echo    "      $(red "git tag -f -m 'Apache Fluo Recipes $ver' -s $tag ${commit:0:7}")"
   echo
   yellow  "IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!!"
   echo
@@ -105,11 +105,11 @@ createEmail() {
 
   cat <<EOF
 $(yellow '============================================================')
-Subject: $(green [VOTE] Fluo "$branch")
+Subject: $(green [VOTE] Apache Fluo Recipes "$branch")
 $(yellow '============================================================')
 Fluo Developers,
 
-Please consider the following candidate for Fluo $(green "$ver").
+Please consider the following candidate for Fluo Recipes $(green "$ver").
 
 Git Commit:
     $(green "$commit")
@@ -117,12 +117,10 @@ Branch:
     $(green "$branch")
 
 If this vote passes, a gpg-signed tag will be created using:
-    $(green "git tag -f -m 'Apache Fluo $ver' -s $tag") \\
+    $(green "git tag -f -m 'Apache Fluo Recipes $ver' -s $tag") \\
     $(green "$commit")
-
 Staging repo: $(green "https://repository.apache.org/content/repositories/orgapachefluo-$stagingrepo")
-Source (official release artifact): $(green "https://repository.apache.org/content/repositories/orgapachefluo-$stagingrepo/org/apache/fluo/fluo/$ver/fluo-${ver}-source-release.tar.gz")
-Binary: $(green "https://repository.apache.org/content/repositories/orgapachefluo-$stagingrepo/org/apache/fluo/fluo/$ver/fluo-${ver}-bin.tar.gz")
+Source (official release artifact): $(green "https://repository.apache.org/content/repositories/orgapachefluo-$stagingrepo/org/apache/fluo/fluo-recipes/$ver/fluo-recipes-${ver}-source-release.tar.gz")
 (Append ".sha1", ".md5", or ".asc" to download the signature/hash for a given artifact.)
 
 All artifacts were built and staged with:
@@ -137,7 +135,7 @@ Please vote one of:
 [ ] +1 - I have verified and accept...
 [ ] +0 - I have reservations, but not strong enough to vote against...
 [ ] -1 - Because..., I do not accept...
-... these artifacts as the $(green "$ver") release of Apache Fluo.
+... these artifacts as the $(green "$ver") release of Apache Fluo Recipes.
 
 This vote will end on $(green "$votedate")
 ($(green "$edtvotedate") / $(green "$pdtvotedate"))
@@ -212,7 +210,7 @@ createReleaseCandidate() {
   ver=$(xmllint --shell pom.xml <<<'xpath /*[local-name()="project"]/*[local-name()="version"]/text()'
| grep content= | cut -f2 -d=)
   ver=${ver%%-SNAPSHOT}
   echo "Building release candidate for version: $(green "$ver")"
-  local tag; tag=rel/fluo-$ver
+  local tag; tag=rel/fluo-recipes-$ver
 
   local cBranch; cBranch=$(currentBranch) || fail "$(red Failure)" to get current branch
from git
   local rc; rc=$(prompter 'release candidate sequence number (eg. 1, 2, etc.)' '[0-9]+')
@@ -228,7 +226,7 @@ createReleaseCandidate() {
   } || fail "Unable to create working branch $(red "$nBranch") from $(red "$cBranch")!"
 
   # create a release candidate from a branch
-  local oFile; oFile=$(mktemp --tmpdir "fluo-build-$rcBranch-XXXXXXXX.log")
+  local oFile; oFile=$(mktemp --tmpdir "fluo-recipes-build-$rcBranch-XXXXXXXX.log")
   {
     [[ -w $oFile ]] && runLog "$oFile" mvn clean release:clean
   } || cleanUpAndFail 'mvn clean release:clean' "$oFile" "$cBranch" "$nBranch"

http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/blob/5279878b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 714c84b..59845bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,6 +57,7 @@
     <hadoop.version>2.6.3</hadoop.version>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
+    <releaseProfiles>fluo-recipes-release</releaseProfiles>
     <spark.version>1.5.2</spark.version>
     <!--
       If attempting to build against Accumulo 1.8.X, then set the thrift version to 0.9.3.
@@ -297,4 +298,17 @@
       </plugin>
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <id>fluo-recipes-release</id>
+      <!-- some properties to make the release build a bit faster -->
+      <properties>
+        <checkstyle.skip>true</checkstyle.skip>
+        <findbugs.skip>true</findbugs.skip>
+        <modernizer.skip>true</modernizer.skip>
+        <skipITs>true</skipITs>
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+  </profiles>
 </project>


Mime
View raw message