This document is intended to be used and kept up to date by the Fedora Release Manager. It details the steps necessary to perform an official release of Fedora.
Table of Contents |
---|
Before Release Day
...
NOTE: The value of RC_VERSION
will vary for each release.
Code Block |
---|
git checkout <master -or- maintenance-branch> git pull git push origin <master -or- maintenance-branch>:${RC_VERSION}-RC |
...
Note | |||||||
---|---|---|---|---|---|---|---|
Your GPG passphrase may not be masked in terminal.
|
Inspect/Verify local updates:
...
Warning |
---|
Up until this point, all of the changes made are strictly in your local repository and working directory. From this point on, the changes you make will be visible to the world and in some cases difficult to back-out of. |
Push the changes to Github.
Code Block |
---|
git push origin --tags # mvn task relies on the tag, make sure it does not collide with a branch name |
Go to
https://github.com/fcrepo4/$REPO/releases/tag/fcrepo-$CURR
- Click Edit tag, and update title to "Release $CURR"
- If appropriate, attach binaries and checksums that have been published to Maven Central
- e.g. http://repo1.maven.org/maven2/org/fcrepo/fcrepo-webapp/5.0.2/
- Note: The Maven artifact for fcrepo-webapp-<version>-jetty-console needs to be renamed from w
ar
tojar
. - Note: The checksum files should be of the format "[checksum] [filename]" (MacOSX's md5 requires the use of the -r argument to produce the correct format. I.e.
md5 -r fcrepo-webapp-5.0.2.war >> fcrepo-webapp-5.0.2.war.md5
).
- Click Publish Release
...
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Push Release Branch to Maintenance
The release branch has changes made since code freeze. It also contains the update to the version numbers for future development.
...
Ensure that your commit history matches the release branch's commit history, except for the two additional commits.
- Changing from SNAPSHOT version to release version. Something like [maven-release-plugin] prepare release $REPO-$CURR
- Changing from release version to next development version. Something like [maven-release-plugin] prepare for next development iteration
Info |
---|
fcrepo-vagrant is an exception to the above rule. The master branch of fcrepo4-exts/fcrepo-vagrant is tied to the last full release version. So you don't update the Fedora version to the new SNAPSHOT version but instead leave it at the just released (${CURR}) version. |
...
If this appears correct, you can push your release branch on to the maintenance branch.
...