NOTES:
Confirm correctness for
From Command Line or IDE:
From Command Line at Component root:
env | grep GPG
# you should see something like: GPG_TTY=/dev/ttys000eval $(gpg-agent --daemon)
git status
# should return:find . -name "*.java" -type f -print | xargs grep -i -n -s -A0 "deprecated"
mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn versions:display-property-updates
mvn apache-rat:check
mvn clean test
mvn clean test -P strict
mvn clean javadoc:javadoc
mvn clean install -DskipTests=true
Check that the /target/ directory has 5 jars: (may need to refresh)
Check your local Maven repository
git push origin --tags
mkdir dist/dev/datasketches/
mkdir dist/release/datasketches/
svn co https://dist.apache.org/repos/dist/dev/datasketches/ .
#Note the DOTsvn status
# make sure it is cleansvn co https://dist.apache.org/repos/dist/release/datasketches/ .
#Note the DOTsvn status
# make sure it is cleanenv | grep GPG
eval $(gpg-agent --daemon)
./bashDeployToDist.sh /Users/\<name\>/dev/git/Apache/datasketches-\<component\> datasketches-\<component\> A.B.0-RC1
gpg-connect-agent reloadagent /bye
env | grep GPG
eval $(gpg-agent --daemon)
git status
# make sure you are still on the release branch: _A.B.Xmvn clean install -Pnexus-jars -DskipTests=true
mvn clean deploy -Pnexus-jars -DskipTests=true
jar
files with their asc
signature are already in the target
directory.md5
and sha1
signatures from ~/.m2/repository/org/apache/datasketches/datasketches-\<component\>/A.B.0/
into the target
directory.maven
directory under the dist/dev/datasketches/\<component\>/A.B.0/
jar, asc, md5
and sha1
files into the maven
directory.svn co https://dist.apache.org/repos/dist/dev/datasketches/ .
#note dot at endsvn co https://dist.apache.org/repos/dist/release/datasketches/ .
#note dot at endmkdir -p \<component\>/A.B.0
svn add . --force
svn ci -m "Release A.B.0"
svn remove \<component\>/X.Y.0
svn ci -m "Remove Prior release"
svn status
# should be emptydist/release
branch, you should get an automated email requesting you to update the Apache DataBase about the releaase.Apache datasketches-memory-1.3.0
git push origin --tags
./createDownloadsInclude.sh /Users/\<name\>/ ... /datasketches-website
svn status
svn add . --force
# if adding a file for the first timesvn ci -m "update Release Steps"