Skip to content

Latest commit

 

History

History
35 lines (34 loc) · 1.37 KB

releasing.md

File metadata and controls

35 lines (34 loc) · 1.37 KB

To Release follow these steps

  1. Make sure everything is merged into master and all tests are passing.
  2. Verify you have gpg installed with $ gpg --version
  3. Use the following settings.xml file
    <settings>
      <profiles>
        <profile>
          <id>test-webdrivers</id>
          <properties>
            <gpg.keyname>gpg key here</gpg.keyname>
            <gpg.passphrase>gpg password here</gpg.passphrase>
          </properties>
        </profile>
      </profiles>
      <servers>
        <server>
          <id>ossrh</id>
          <username>mvn central username</username>
          <password>mvn central password</password>
        </server>
      </servers>
    </settings>
  1. Use an existing gpg key $ gpg --list-keys or create a new one and upload it $ gpg --gen-key then $ gpg --keyserver keyserver.ubuntu.com --send-keys GPG_KEY
  2. Add the uploaded key and password to the settings.xml file
  3. Run $ mvn release:prepare -Darguments=-Dgpg.passphrase=GPG_PASSWORD if something fails use $ mvn release:rollback
  4. Run $ mvn release:perform -Darguments=-Dgpg.passphrase=GPG_PASSWORD
  5. Navigate to https://oss.sonatype.org/ and sign in
  6. Click Staging Repositories
  7. Click the new repository (should have name like comdev9-num)
  8. Click Close at top and verify everything passes
  9. Click Release to publish new artifact