Difference between revisions of "Groovy Uno Release Preparation"
(updated for revision 0.1.5 and rc1) |
|||
Line 4: | Line 4: | ||
== Overview == | == Overview == | ||
− | 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. | + | 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.5-rc1-r1740645 |
== Create a Release Branch == | == Create a Release Branch == | ||
Line 10: | Line 10: | ||
Future maintenance builds should be released from this same branch. | Future maintenance builds should be released from this same branch. | ||
− | Example prepared for 0.1. | + | Example prepared for 0.1.x (first release) |
<source lang="bash"> | <source lang="bash"> | ||
svn copy https://svn.apache.org/repos/asf/openoffice/devtools/guno-extension/trunk \ | svn copy https://svn.apache.org/repos/asf/openoffice/devtools/guno-extension/trunk \ | ||
Line 25: | Line 25: | ||
Copy guno-extension directory to a temporary location. (Example ~/tmp/) | Copy guno-extension directory to a temporary location. (Example ~/tmp/) | ||
<source lang="bash"> | <source lang="bash"> | ||
− | cp ./guno-extension-0.1 | + | cp ./guno-extension-0.1 ~/tmp/ |
</source> | </source> | ||
If you have built the project, delete any Gradle and/or IDE generated files and the .gradle and .svn directories. | 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. | + | create a zip and tar.gz archives containing the project directory "guno-extension-0.1.5" |
named<br /> | named<br /> | ||
− | guno-extension-0.1. | + | guno-extension-0.1.5-r1740645-src.zip & guno-extension-0.1.5-r1740645-src.tar.gz |
Place these files in a new directory (ex. ~/tmp/upload/) and cd into this directory. | Place these files in a new directory (ex. ~/tmp/upload/) and cd into this directory. | ||
Line 41: | Line 41: | ||
</source> | </source> | ||
− | Next create | + | Next create a detached ascii armored detached signiture. |
If you have more than one key | If you have more than one key | ||
<source lang="bash"> | <source lang="bash"> | ||
− | gpg -ab --default-key YOURKEYID guno-extension-0.1. | + | gpg -ab --default-key YOURKEYID guno-extension-0.1.5-r1740645-src.zip |
− | gpg -ab --default-key YOURKEYID guno-extension-0.1. | + | gpg -ab --default-key YOURKEYID guno-extension-0.1.5-r1740645-src.tar.gz |
</source> | </source> | ||
Or if you only have one key | Or if you only have one key | ||
<source lang="bash"> | <source lang="bash"> | ||
− | gpg -ab guno-extension-0.1. | + | gpg -ab guno-extension-0.1.5-r1740645-src.zip |
− | gpg -ab guno-extension-0.1. | + | gpg -ab guno-extension-0.1.5-r1740645-src.tar.gz |
</source> | </source> | ||
Create the md5 Hashes | Create the md5 Hashes | ||
<source lang="bash"> | <source lang="bash"> | ||
− | md5sum guno-extension-0.1. | + | md5sum guno-extension-0.1.5-r1740645-src.zip > guno-extension-0.1.5-r1740645-src.zip.md5 |
− | md5sum guno-extension-0.1. | + | md5sum guno-extension-0.1.5-r1740645-src.tar.gz > guno-extension-0.1.5-r1740645-src.tar.gz.md5 |
</source> | </source> | ||
Verify the Signatures and Checksums | Verify the Signatures and Checksums | ||
<source lang="bash"> | <source lang="bash"> | ||
− | gpg --verify guno-extension-0.1. | + | gpg --verify guno-extension-0.1.5-r1740645-src.zip.asc |
− | gpg --verify guno-extension-0.1. | + | gpg --verify guno-extension-0.1.5-r1740645-src.tar.gz.asc |
− | md5sum --check guno-extension-0.1. | + | md5sum --check guno-extension-0.1.5-r1740645-src.zip.md5 |
− | md5sum --check guno-extension-0.1. | + | md5sum --check guno-extension-0.1.5-r1740645-src.tar.gz.md5 |
</source> | </source> | ||
Stage the Source Release Candidate to: | Stage the Source Release Candidate to: | ||
− | https://dist.apache.org/repos/dist/dev/openoffice/devtools/guno-extension-0.1. | + | https://dist.apache.org/repos/dist/dev/openoffice/devtools/guno-extension-0.1.5-rc1-r1740645/ |
Move up one directory level above upload directory (cd ..) | Move up one directory level above upload directory (cd ..) | ||
Line 76: | Line 76: | ||
This SVN import will include the contents of "upload" directory but not the directory itself. | This SVN import will include the contents of "upload" directory but not the directory itself. | ||
<source lang="bash"> | <source lang="bash"> | ||
− | svn import upload https://dist.apache.org/repos/dist/dev/openoffice/devtools/guno-extension-0.1. | + | svn import upload https://dist.apache.org/repos/dist/dev/openoffice/devtools/guno-extension-0.1.5-rc1-r1740645 -m "upload of guno-extension-0.1.5-rc1" |
</source> | </source> | ||
Revision as of 11:12, 23 April 2016
This is in progress
Under Construction
Overview
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.5-rc1-r1740645
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.x (first release)
svn copy https://svn.apache.org/repos/asf/openoffice/devtools/guno-extension/trunk \
https://svn.apache.org/repos/asf/openoffice/devtools/guno-extension/branches/0.1 \
-m "created 0.1 release branch"
Checkout Release Branch From SVN
svn checkout https://svn.apache.org/repos/asf/openoffice/devtools/guno-extension/branches/0.1/ guno-extension-0.1
Prepare Archives For Distribution
Copy guno-extension directory to a temporary location. (Example ~/tmp/)
cp ./guno-extension-0.1 ~/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.5"
named
guno-extension-0.1.5-r1740645-src.zip & guno-extension-0.1.5-r1740645-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 a detached ascii armored detached signiture.
If you have more than one key
gpg -ab --default-key YOURKEYID guno-extension-0.1.5-r1740645-src.zip
gpg -ab --default-key YOURKEYID guno-extension-0.1.5-r1740645-src.tar.gz
Or if you only have one key
gpg -ab guno-extension-0.1.5-r1740645-src.zip
gpg -ab guno-extension-0.1.5-r1740645-src.tar.gz
Create the md5 Hashes
md5sum guno-extension-0.1.5-r1740645-src.zip > guno-extension-0.1.5-r1740645-src.zip.md5
md5sum guno-extension-0.1.5-r1740645-src.tar.gz > guno-extension-0.1.5-r1740645-src.tar.gz.md5
Verify the Signatures and Checksums
gpg --verify guno-extension-0.1.5-r1740645-src.zip.asc
gpg --verify guno-extension-0.1.5-r1740645-src.tar.gz.asc
md5sum --check guno-extension-0.1.5-r1740645-src.zip.md5
md5sum --check guno-extension-0.1.5-r1740645-src.tar.gz.md5
Stage the Source Release Candidate to:
https://dist.apache.org/repos/dist/dev/openoffice/devtools/guno-extension-0.1.5-rc1-r1740645/
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 https://dist.apache.org/repos/dist/dev/openoffice/devtools/guno-extension-0.1.5-rc1-r1740645 -m "upload of guno-extension-0.1.5-rc1"
Build and Upload the Artifacts to Apache Nexus
https://repository.apache.org/
TO-DO