Versions Compared

Key

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

...

http://yetus.apache.org/contribute/releases/

How to Release Sqoop2

 

Basic Outline:

Dependencies

  1. You need to be a commiter
  2. Basic Rya
    1. Checkout, build, test Rya
  3. Setting up PGP
    1. Getting software
    2. creating a key
    3. publishing a key
    4. adding your key to id.apache.org
  4. Setting up Maven to push to apache repo
    1. Username/pass in maven settings
  5. Testing settings
    1. Testing locally: 
      1. mvn clean install -Papache-release
    2. Testing by pushing to apache snapshot repo

      1. mvn clean deploy -Papache-release


Staging a release

note: I followed these instructions: http://www.apache.org/dev/publishing-maven-artifacts.html#prepare-poms

  1. Update Rya
  2. Build a push a signed snapshot
    1. mvn clean deploy -Papache-release

  3. Do some manual checks:

    1. Make sure there are no dependencies on snapshots in the POMs to be released

    2. Check that your POMs will not lose content when they are rewritten during the release process

      1. mvn release:prepare -Papache-release -DdryRun=true

      2. Diff the original file pom.xml with the one called pom.xml.tag to see if the license or any other info has been removed

  4. Prepare release

    1. mvn release:clean

    2. mvn release:prepare

  5. Stage release for a vote
    1. mvn release:perform

       

 

 

References:

http://www.apache.org/dev/publishing-maven-artifacts.html