You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2020/03/23 23:00:47 UTC
svn commit: r38606 - in /dev/incubator/datasketches/scripts:
APACHE_JAVA_RELEASE_STEPS.md bashDeployToDist.sh createDownloadsInclude.sh
Author: leerho
Date: Mon Mar 23 23:00:46 2020
New Revision: 38606
Log:
update scripts
Modified:
dev/incubator/datasketches/scripts/APACHE_JAVA_RELEASE_STEPS.md
dev/incubator/datasketches/scripts/bashDeployToDist.sh
dev/incubator/datasketches/scripts/createDownloadsInclude.sh
Modified: dev/incubator/datasketches/scripts/APACHE_JAVA_RELEASE_STEPS.md
==============================================================================
--- dev/incubator/datasketches/scripts/APACHE_JAVA_RELEASE_STEPS.md (original)
+++ dev/incubator/datasketches/scripts/APACHE_JAVA_RELEASE_STEPS.md Mon Mar 23 23:00:46 2020
@@ -91,9 +91,9 @@
## Create Zip Files for dist.apache.org
* You will need the following arguments:
- * Absolute path of project.basedir on your system
+ * Absolute path of target project.basedir on your system
* Project.artifactId : datasketches-\<component\> where component is e.g., java, pig, hive,...
- * GitHub Tag: A.B.0-incubating-RC1
+ * GitHub Tag: A.B.0-incubating-RC1
* Start a new terminal in the scripts directory on your system:
* Somewhere like .../dist/dev/incubator/datasketches/scripts
* Confirm GPG is running: \$ env | grep GPG
@@ -151,13 +151,19 @@
* svn add . --force
* svn ci -m "Release 1.1.0-incubating"
+## Update Downloads.md page of Website
+* Start a new terminal in the scripts directory on your system:
+ * Somewhere like .../dist/dev/incubator/datasketches/scripts
+* Run something like the following with the argument specifying the location of your local website directory:
+ * $ ./createDownloadsInclude.sh /Users/\<name\>/dev/git/Apache/datasketches-website
+* When this is done, be sure to commit the changes to the website.
+
## Release Jars on Nexus Staging
* On Nexus [repository.apache.org](https://repository.apache.org/) click on Staging Repositories
* Select "orgapachedatasketches-XXXX" (If more than one make sure you select the right one!)
* At the top of the window, select "Release"
* Confirm that the attributes have moved to the "Releases" repository under "Repositories"
-
## Create & Document Release Tag on GitHub
* Open your IDE and switch to the recently created Release Branch 1.1.X-incubating
* Find the recently created 1.1.X-incubating-RC1 tag in that branch
@@ -172,7 +178,7 @@
* Send to general@incubator and dev@datasketches
## Update These Instructions
-* If you have updated this file while using it, please check it in using SVN using your local dist/dev directory copy:
+* If you have updated this file or any of the scripts, please check it in using SVN using your local dist/dev directory copy:
* $ svn status
* $ svn add . --force //if adding for the first time
* $ svn ci -m "update Release Steps"
Modified: dev/incubator/datasketches/scripts/bashDeployToDist.sh
==============================================================================
--- dev/incubator/datasketches/scripts/bashDeployToDist.sh (original)
+++ dev/incubator/datasketches/scripts/bashDeployToDist.sh Mon Mar 23 23:00:46 2020
@@ -30,13 +30,11 @@
# Example tag for SNAPSHOT : 1.0.0-incubating-SNAPSHOT
# Example tag for Release Candidate: 1.0.0-incubating-RC1
# Example tag for Release : 1.0.0-incubating
-# \$4 = absolute path of website project.basedir Used to update the website downloads page
# For example: $ <this script>.sh <project base dir> datasketches-memory 1.0.0-incubating-RC1 <website project dir>
if [ -z "$1" ]; then echo "Missing project.basedir"; exit 1; fi
if [ -z "$2" ]; then echo "Missing project.artifactId"; exit 1; fi
if [ -z "$3" ]; then echo "Missing GitHub Tag"; exit 1; fi
-if [ -z "$4" ]; then echo "Missing website project.basedir"; exit 1; fi
echo
echo "===================Check List======================"
@@ -78,7 +76,6 @@ ProjectBaseDir=$1 #this must be an absol
## Extract project.artifactId and Tag from input parameters:
ProjectArtifactId=$2
Tag=$3
-WebsiteDir=$4
####Move to project directory####
cd ${ProjectBaseDir}
@@ -296,11 +293,6 @@ then
exit 1
fi
-echo
-echo "=================UPDATE WEBSITE===================="
-
-$ScriptsDir/createDownloads.sh $WebsiteDir
-
#### Move to project directory ####
cd $ProjectBaseDir
Modified: dev/incubator/datasketches/scripts/createDownloadsInclude.sh
==============================================================================
--- dev/incubator/datasketches/scripts/createDownloadsInclude.sh (original)
+++ dev/incubator/datasketches/scripts/createDownloadsInclude.sh Mon Mar 23 23:00:46 2020
@@ -28,12 +28,12 @@ if [ -z "$1" ]; then echo "Missing local
FileName="downloadsInclude.txt"
OutputDir="$1/_includes"
-#echo
-#echo "Output Directory: $OutputDir"
-#echo
-#echo "Proceed? [y|N]"; read confirm; if [[ ${confirm} != "y" ]]; then echo "Please rerun this script when ready."; exit 1; fi
+echo
+echo "Output Directory: $OutputDir"
+echo
+echo "Proceed? [y|N]"; read confirm; if [[ ${confirm} != "y" ]]; then echo "Please rerun this script when ready."; exit 1; fi
-# SVN Checkout Path
+# SVN Checkout Release Path
RemoteSvnRelDS="https://dist.apache.org/repos/dist/release/incubator/datasketches/"
# Create tmp subdirectory, which will be removed at the end
@@ -92,3 +92,7 @@ echo >> "$FileName"
mv "$FileName" "$OutputDir/$FileName"
rm -rf tmp # remove tmp if it exists
+
+echo
+echo "Success!"
+echo
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org