-
Notifications
You must be signed in to change notification settings - Fork 1
ReleaseDeployment
-
Run
promoteRC
release task and review the official release tag.release-tools$ ./gradlew promoteRC
Creating tag for HttpCore 4.4.7 release 4.4.7 tag created
-
Change to the local project directory.
-
Push the release tag to the remote project repository (assumed to be origin) and make sure the operation is successful and there are no rejections.
httpcore$ git push origin rel/v4.4.7
-
Delete the release branch from the remote project repository (assumed to be
origin
) and make sure the operation is successful.git push origin --delete release-4.4.7
To https://gitbox.apache.org/repos/asf/httpcomponents-core.git - [deleted] release-4.4.7
-
Login to the ASF Nexus repository manager (https://repository.apache.org/)
- Log in with your ASF username
- Select 'Staging Repositories'
- Release the upload directory and put the full release name including the release version such as
HttpCore 4.4.7 GA
as a description. This will cause the artifacts to be moved to the official ASF release repository and eventually to get copied over to the Central Maven repo.
-
Run
promoteDist
release task to commit dist files to the release location.release-tools$ ./gradlew promoteDist
Promoting HttpCore 4.4.7 dist Committed as r21584
-
Alternatively if some customization of the process is required use
svnmucc
release task to generate an input file forsvnmucc
utility.release-tools$ ./gradlew svnmucc
----------------8<-------------[ cut here ]------------------ rm release/httpcomponents/httpcore/RELEASE_NOTES-4.4.x.txt mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.tar.gz.asc release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.tar.gz.asc mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.tar.gz release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.tar.gz mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.zip release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.zip mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.zip.md5 release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.zip.md5 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.zip release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.zip mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.tar.gz.sha512 release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.tar.gz.sha512 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.zip.asc release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.zip.asc mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.tar.gz.sha512 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.tar.gz.sha512 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.tar.gz release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.tar.gz mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.zip.sha512 release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.zip.sha512 mv dev/httpcomponents/httpcore-4.4.7-RC1/RELEASE_NOTES-4.4.x.txt release/httpcomponents/httpcore/RELEASE_NOTES-4.4.x.txt mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.zip.asc release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.zip.asc mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.tar.gz.asc release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.tar.gz.asc mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.tar.gz release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.tar.gz mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.zip.sha512 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.zip.sha512 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.tar.gz.md5 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.tar.gz.md5 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.tar.gz.md5 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.tar.gz.md5 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.zip.sha512 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.zip.sha512 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.zip.md5 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.zip.md5 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.tar.gz.asc release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.tar.gz.asc mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.zip.asc release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.zip.asc mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.zip.md5 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.zip.md5 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-src.tar.gz.md5 release/httpcomponents/httpcore/source/httpcomponents-core-4.4.7-src.tar.gz.md5 mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-osgi-bin.zip release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-osgi-bin.zip mv dev/httpcomponents/httpcore-4.4.7-RC1/httpcomponents-core-4.4.7-bin.tar.gz.sha512 release/httpcomponents/httpcore/binary/httpcomponents-core-4.4.7-bin.tar.gz.sha512 rm dev/httpcomponents/httpcore-4.4.7-RC1 ----------------8<-------------[ cut here ]------------------
-
Change to the local project directory
-
Switch back to the development branch.
httpcore$ git git checkout 4.4.x
Switched to branch '4.4.x'
-
Change to the release tools directory
-
Run
nextSnapshot
release task and review the commit.release-tools$ ./gradlew nextSnapshot
Upgrading HttpCore from 4.4.7 to 4.4.8-SNAPSHOT Committing changes for snapshot HttpCore 4.4.8-SNAPSHOT
-
Change to the local project directory.
-
Push the commit to the remote project repository (assumed to be origin) and make sure the operation is successful and there are no rejections.
httpcore$ git push origin