-
Notifications
You must be signed in to change notification settings - Fork 20
Alpaca Release Process
Adapted from: https://wiki.duraspace.org/display/FF/Fedora+Release+Process
To make sure the release goes smoothly, you should ensure that:
- You have an account with commit access for Alpaca on GitHub. As a committer, you should already have this level of access.
- You have an oss.sonatype.org account and have requested to be given permission to publish to the ca.islandora groupId by adding a comment to the Islandora Sonatype Hosting Ticket
- Ensure you have a trusted code signing key; create if you haven't before and add it to the contributor keys list below
- Your gradle settings file (
~/.gradle/gradle.properties
) exists and includes the following:
ossrhUsername = jiraname
ossrhPassword = jirapass
signing.keyId = pubkeyid
signing.password = keypassphrase
signing.secretKeyRingFile = /your/home/.gnupg/secring.gpg
- Your
git
is configured (locally or globally) to cache github credentials for https or use ssh
Note: As of GPG 2.1 secring.gpg
has been removed so you need to export secret keys to create the secret key ring.
gpg --export-secret-keys -o secring.gpg
The following assumes you are using ssh (e.g. [email protected] for authentication).
It will also work for https if you properly cache your github credentials. The credentials must be cached and valid because Gradle will not prompt you for them!
git clone [email protected]:Islandora-CLAW/Alpaca.git
cd Alpaca
./gradlew release
The script will start but then will ask you to confirm the version to release as.
??> This release version: [0.3.1] (WAITING FOR INPUT BELOW)
<-------------> 0% EXECUTING [13s]
> :release
> :alpaca-release:confirmReleaseVersion
You then type in the version (ie. 0.4.0
) or nothing to use the suggested version (0.3.1
in this example) and hit ENTER
.
The gradle release task will take care of dropping -SNAPSHOT from the version, uploading artifacts to Maven central for staging, tagging and pushing a release to github, and bumping master
of the Alpaca repository up by a point release for the next development iteration.
The release process will also generate documentation at ./docs/<new-version>
. This will need to be added to the git repository and pushed to the master branch:
git add docs/<new-version>
git commit -m "Add documentation for <new-version>"
git push origin
- Login to https://oss.sonatype.org
- Click on Staging Repositories on the left hand side under Build Promotion
- On the far left hand side search box enter 'islandora'
- Locate the artifacts you want to release and click on them
- Click Close, then Refresh, then Release
Name | Organization | Address | Code Signing Key Fingerprint | Key Id |
---|---|---|---|---|
Danny Lamb | Islandora Foundation | dlamb at islandora.ca | 2D609DB0380A7637A6B72B328D7E7725D47A05FA | D47A05FA |
Jared Whiklo | University of Manitoba | jwhiklo at gmail.com | 9F45FC2BE09F4D70DA0C7A5CA51C36E8D4F78790 | D4F78790 |
Nick Ruest | York University | ruestn at yorku.ca | 159493E15691C84D615B7D1B417FAF1A0E1080CD | 0E1080CD |
Seth Shaw | University of Nevada, Las Vegas | seth.shaw at unlv.edu | 2FF65B22AFA7B2A57F054F89D160AA658DAE385F | D160AA658DAE385F |