Groovy Uno Release Preparation

From Apache OpenOffice Wiki
Revision as of 10:54, 22 April 2016 by Cmarcum (Talk | contribs)

Jump to: navigation, search

This is in progress

Under Construction


This page is to document the release candidate preparation procedure for a Groovy UNO Extension release candidate. For information on the extension see the Groovy_UNO_Extension wiki page. The current release candidate is guno-extension-0.1.4-rc2-r1740035

Create a Release Branch

If releasing a new major.minor release, create a new release branch in SVN. Future maintenance builds should be released from this same branch.

Example prepared for 0.1.4 (first release)

svn copy \ \
-m "created 0.1 release branch"

Checkout Release Branch From SVN

svn checkout guno-extension-0.1.4

Prepare Archives For Distribution

Copy guno-extension directory to a temporary location. (Example ~/tmp/)

cp ./guno-extension-0.1.4 ~/tmp/

If you have built the project, delete any Gradle and/or IDE generated files and the .gradle and .svn directories. create a zip and tar.gz archives containing the project directory "guno-extension-0.1.4" named & guno-extension-0.1.4-r1740035-src.tar.gz

Place these files in a new directory (ex. ~/tmp/upload/) and cd into this directory.

PGP Sign the Archives

You can check your key id's

gpg --list-keys

Next create and detached ascii armored detached signiture.

If you have more than one key

gpg -ab --default-key YOURKEYID
gpg -ab --default-key YOURKEYID guno-extension-0.1.4-r1740035-src.tar.gz

Or if you only have one key

gpg -ab
gpg -ab guno-extension-0.1.4-r1740035-src.tar.gz

Create the md5 Hashes

md5sum >
md5sum guno-extension-0.1.4-r1740035-src.tar.gz > guno-extension-0.1.4-r1740035-src.tar.gz.md5

Verify the Signatures and Checksums

gpg --verify
gpg --verify guno-extension-0.1.4-r1740035-src.tar.gz.asc
md5sum --check
md5sum --check guno-extension-0.1.4-r1740035-src.tar.gz.md5

Stage the Source Release Candidate to:

Move up one directory level above upload directory (cd ..)

This SVN import will include the contents of "upload" directory but not the directory itself.

svn import upload -m "upload of guno-extension-0.1.4-rc2"

Build and Upload the Artifacts to Apache Nexus


Personal tools