Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 2.28 KB

RELEASING.md

File metadata and controls

47 lines (40 loc) · 2.28 KB

Releasing

Prerequesites

...
<profiles>
    <profile>
        <id>dx-release</id>
        <properties>
            <gpg.keyname><!--your public key--></gpg.keyname>
            <gpg.passphrase><!--encrypted gpg passphrase--></gpg.passphrase>
        </properties>
    </profile>
</profiles>
  • please also upload your public key to some key server e.g. gpg --keyserver keys.openpgp.org --send-key <keyid>
  • note that depending on your OS, you may hit https://issues.apache.org/jira/browse/MGPG-59 which is plugin's gpg agent trying to access IO. Message being something like

gpg: signing failed: Inappropriate ioctl for device

As proposed in the ticket, in order to counter balance this, pls execute following command before preparing release:

gpg -u <your key's email> --use-agent --armor --detach-sign --output $(mktemp) pom.xml

For mac users, you can fix it by installing pinentry-mac

Release

commands

  1. check that your local is up to date with origin,
  2. check that a release would work by running a dry run release mvn release:prepare -Pdx-release -DdryRun=true if things looks good to you, you can rollback all changes mvn release:rollback -Pdx-release -DdryRun=true
  3. prepare the release mvn release:prepare -Pdx-release
  4. perform the release mvn release:perform -Pdx-release
  5. (if anything goes wrong) rollback the release mvn release:rollback -Pdx-release
  6. (if things went well) go to https://repo1.maven.org/maven2/com/adobe/dx and check there released artifacts. Eventually do an announce / gh release if important one.