Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
git checkout -b 3.2.10-RC3RC2 master

 

3. Build Rya, prepare and perform release

 

Code Block
mvn clean package -Papache-release -DskipTests
Code Block
mvn release:prepare -Darguments="-DskipTests"

 

 

Code Block
What is the release version for "Apache Rya Project"? (org.apache.rya:rya-project) 3.2.10-incubating: : 
What is SCM release tag or label for "Apache Rya Project"? (org.apache.rya:rya-project) v3.2.10-incubating: : rya-incubating-3.2.10-rc3rc2
What is the new development version for "Apache Rya Project"? (org.apache.rya:rya-project) 3.2.11-incubating-SNAPSHOT: : 

 

 

Code Block
mvn release:perform -Darguments="-DskipTests"

 

 

Once the release has been performed, the artifacts should be in a staging repository:

add the artifacts to dist

Code Block
svn checkout https://
repository
dist.apache.org
/#stagingRepositories
From "Publishing Maven Artifacts" page:
Now you must close the staging repository to indicate to Nexus that the build is done and to make the artifacts available. Follow the steps in Closing the Staged Repositoryto close your new repository, this will allow your community to VOTE on the staged atrifacts.
Download the src artifact and performs some simple tests:
  • Download the sources and verify they compile cleanly.
  • Validate the hashes match.
  • Validate that the sources contain no unexpected binaries.
  • Validate the signature for the build and hashes.
  • Validate the LICENSE/NOTICE/Headers.

     Other release checklists:

    http://wiki.apache.org/incubator/ReleaseChecklist

    http://incubator.apache.org/guides/releasemanagement.html#check-list

    how to verify hashes:

    https://www.openoffice.org/download/checksums.html

    Code Block
    titleCommands to build Rya with a Fresh Maven Repo and Settings.xml
    rm DEPENDENCIES
    mkdir /tmp/new_m2
    cp $M2_HOME/conf/settings.xml /tmp/new_m2/settings.xml
    mvn --settings /tmp/new_m2settings.xml -Dmaven.repo.local=/tmp/new_m2 clean package

     

    /repos/dist/dev/incubator/rya
    (double check that last command)
    mkdir rya-incubating-3.2.10-rc3
    cd rya-incubating-3.2.10-rc3
     
    cp ../../incubator-rya-apache/target/checkout/target/rya-project-3.2.10-incubating-source-release.zip.* .
    md5 -r rya-project-3.2.10-incubating-source-release.zip > rya-project-3.2.10-incubating-source-release.zip.md5
    shasum -a 1 rya-project-3.2.10-incubating-source-release.zip > rya-project-3.2.10-incubating-source-release.zip.sha1
     
    cd ..
     
    svn add rya-incubating-3.2.10-rc3
    svn commit -m "Adding rya-incubating-3.2.10-rc3"

    add your keys to KEYS (this is a pre-req)

     

    Once the release has been performed, the artifacts should be in a staging repository:
    From "Publishing Maven Artifacts" page:
    Now you must close the staging repository to indicate to Nexus that the build is done and to make the artifacts available. Follow the steps in Closing the Staged Repositoryto close your new repository, this will allow your community to VOTE on the staged atrifacts.

    Download the src artifact and performs some simple tests:

    • Download the sources and verify they compile cleanly.
    • Validate the hashes match.
    • Validate that the sources contain no unexpected binaries.
    • Validate the signature for the build and hashes.
    • Validate the LICENSE/NOTICE/Headers.

     Other release checklists:

    http://wiki.apache.org/incubator/ReleaseChecklist

    http://incubator.apache.org/guides/releasemanagement.html#check-list


    how to verify hashes:

    https://www.openoffice.org/download/checksums.html


    Code Block
    titleCommands to build Rya with a Fresh Maven Repo and Settings.xml
    rm DEPENDENCIES
    mkdir /tmp/new_m2
    cp $M2_HOME/conf/settings.xml /tmp/new_m2/settings.xml
    mvn --settings /tmp/new_m2settings.xml -Dmaven.repo.local=/tmp/new_m2 clean package

     

     

    Code Block
    titleCommand to Check for Binary Files
    find . -type f  | grep -v '\/test\/\|\/site\/\|\.java\|\.xml\|\.xsl\|\.groovy\|\.properties\|\.sh\|\.bat\|\.md\|\.txt'

     

     

    Code Block
    titleFind large files
    find . -type f | xargs du -sh | grep [GM]\\s

     

    Send out a Vote email (make sure to include some sort of "RC-X" identifier in the vote subject so that we can differentiate them in the archives)

    Code Block
    To: dev@rya.incubator.apache.org
    Subject: [VOTE] Release Rya (Incubating) version 3.2.10 RC1
    
    I am pleased to be calling this vote for the source release of Apache Rya (Incubating), version 3.2.10.
     
    The source zip, including signatures, digests, etc. can be found at:
    https://dist.apache.org/repos/dist/dev/incubator/rya/rya-incubating-3.2.10-rc2/
    
    Ancillary artifacts such as poms, jars, wars, ect. can be found here:
    https://repository.apache.org/content/repositories/orgapacherya-1002/org/apache/rya/rya-project/3.2.10-incubating/
    
    The Git tag is rya-incubating-3.2.10-rc2
    The Git commit ID is 9f0d63e6089df172eb3f41957d2956ec0035953a
    https://git-wip-us.apache.org/repos/asf?p=incubator-rya.git;a=commit;h=9f0d63e6089df172eb3f41957d2956ec0035953a
     
    Checksums of rya-project-3.2.10-source-release.zip:
    SHA1: 5f91b695e5bebfa89eee27debfca7a264f81f888
    MD5: 5199aee4ca11e3c735f6e8b40f563f09
     
    Release artifacts are signed with the following key:
    https://people.apache.org/keys/committer/mihalik.asc
    
    KEYS file available here:
    https://dist.apache.org/repos/dist/release/incubator/rya/KEYS
     
    Issues that were closed/resolved for this release are here:
    https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12334209&styleName=Html&projectId=12319020
     
    Issues resolved between RC1 and RC2 are here:
    https://issues.apache.org/jira/browse/RYA-184
    
    The vote will be open for 72 hours.
    Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test.  The please vote:
     
    [ ] +1 Release this package as rya-project-3.2.10
    [ ] +0 no opinion
    [ ] -1 Do not release this package because because...
    
    
    
    
    Code Block
    To: dev@rya.incubator.apache.org
    Subject: [RESULT] [VOTE] Release Rya (Incubating) version 3.2.10 RC1
    
    Hello,
    
    The vote to release Rya (Incubating) version 3.2.10 RC1 has passed/failed.
    
    +1 (binding):
    
    (Members of PPMC)
    +1 (non binding):
    
    (Everyone else)
    ...if vote was successful..
    I will promote the artifacts to the central repo.
     
    ...if vote was unsuccessful..
    The following Jira tasks have been created to capture the issues blocking a successful release:
     
    RYA-200 Remove findbugs:jsr305 Dependency [1]
    
    
    The following Jira tasks have been created to capture all of the issues that will be resolved in the next RC:
    Perform 3.2.10-RC3 Release [2]
     
    

     

    Code Block
    titleCommand to Check for Binary Files
    find . -type f  | grep -v '\/test\/\|\/site\/\|\.java\|\.xml\|\.xsl\|\.groovy\|\.properties\|\.sh\|\.bat\|\.md\|\.txt'

     

     

    Code Block
    titleFind large files
    find . -type f | xargs du -sh | grep [GM]\\s

     

    Send out a Vote email (make sure to include some sort of "RC-X" identifier in the vote subject so that we can differentiate them in the archives)

    Code Block
    To: dev@rya.incubator.apache.org
    Subject: [VOTE] Release Rya (Incubating) version 3.2.10 RC1
    
    I am pleased to be calling this vote for the source release of Apache Rya (Incubating), version 3.2.10.
    
    The source zip, including signatures, digests, etc. can be found at:
    https://repository.apache.org/content/repositories/orgapacherya-1001/org/apache/rya/rya-project/3.2.10/
     
    The Git tag is v3.2.10
    The Git commit ID is 16196b4c658062545964602835cb5fbd2870e578
    https://git-wip-us.apache.org/repos/asf?p=incubator-rya.git;a=commit;h=16196b4c658062545964602835cb5fbd2870e578
     
    Checksums of rya-project-3.2.10-source-release.zip:
    SHA1: dee4a5e4f8e74c4de614d02c7b17a5e0db132649
    MD5: df4a47ae1232725bc95450f5e49de95c
    
    Release artifacts are signed with the following key:
    https://people.apache.org/keys/committer/mihalik.asc
    
    Issue that were closed/resolved for this release are here:
    https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12334209&styleName=Html&projectId=12319020
    
    The vote will be open for 72 hours. 
    Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test.  The please vote:
    
    [ ] +1 Release this package as rya-project-3.2.10
    [ ] +0 no opinion
    [ ] -1 Do not release this package because because...
    
    
    
    
    
    
    
    Code Block
    To: dev@rya.incubator.apache.org
    Subject: [RESULT] [VOTE] Release Rya (Incubating) version 3.2.10 RC1
    
    Hello,
    
    The vote to release Rya (Incubating) version 3.2.10 RC1 has passed/failed.
    
    +1 (binding):
    
    (Members of PPMC)
    +1 (non binding):
    
    (Everyone else)
    ...if vote was successful..
    I will promote the artifacts to the central repo.
     
    ...if vote was unsuccessful..
    List JIRA tasks blocking successful release.  These tasks should address the concerns raised during the voting process.

     

     

    If there is something wrong with the staging repo:
    delete the tag:

    ...