| 1 |
### Building a release for vote: |
| 2 |
|
| 3 |
1. Grab a clean checkout for safety. |
| 4 |
2. Run: "git checkout ${BRANCH}" if needed. |
| 5 |
3. Update the versions: |
| 6 |
- Run: "scripts/version.sh ${VERSION}", e.g: scripts/version.sh 0.18.0 |
| 7 |
4. Commit the changes, tag them. |
| 8 |
- Run: "git add ." |
| 9 |
- Run: 'git commit -m "update versions for ${TAG}"' |
| 10 |
- Run: 'git tag -m "tag ${TAG}" ${TAG}', e.g: git tag -m "tag 0.18.0-rc1" 0.18.0-rc1 |
| 11 |
5. Run: "scripts/export.sh $PWD ${TAG}" to create the qpid-proton-${VERSION}.tar.gz release archive. |
| 12 |
6. Create signature and checksum files for the archive: |
| 13 |
- e.g "gpg --detach-sign --armor qpid-proton-${VERSION}.tar.gz" |
| 14 |
- e.g "sha512sum qpid-proton-${VERSION}.tar.gz > qpid-proton-${VERSION}.tar.gz.sha512" |
| 15 |
7. Push branch changes and tag. |
| 16 |
- Also update versions to the applicable snapshot version for future work on it. |
| 17 |
8. Commit artifacts to dist dev repo in https://dist.apache.org/repos/dist/dev/qpid/proton/${TAG} dir. |
| 18 |
9. Send vote email, provide links to dist dev repo and JIRA release notes. |
| 19 |
|
| 20 |
|
| 21 |
### After a vote succeeds: |
| 22 |
|
| 23 |
1. Tag the RC with the final version. |
| 24 |
2. Add the artifacts to dist release repo: |
| 25 |
svn cp -m "add files for qpid-proton-${VERSION}" https://dist.apache.org/repos/dist/dev/qpid/proton/${TAG} https://dist.apache.org/repos/dist/release/qpid/proton/${VERSION} |
| 26 |
3. Give the mirrors some time to distribute things. Can take 24hrs for good coverage. |
| 27 |
- Status is visible at: https://www.apache.org/mirrors/ |
| 28 |
4. Update the website with release content. |
| 29 |
5. Send release announcement email. |
| 30 |
6. Clean out older release(s) from release repo as appropriate. |