...
Prepare release candidates
Info |
---|
title | Use a clean repository |
---|
|
It is recommended to use a clean repository for release preparation to ensure there are no unexpected local files in the source release. |
incubator-streampipes
- Perform Maven Release
- Stage artifacts to Nexus
- Stage source zip file to apache downloads
...
Code Block |
---|
language | bash |
---|
title | Modify StreamPipes version |
---|
|
git tag release/VERSION
#e.g., git tag release/0.66.0
# push tags
git push origin --tags |
The next step is to create a zip file for the source release:
Code Block |
---|
language | bash |
---|
title | Create zip file |
---|
|
zip -r apache-streampipes-installer-VERSION-incubating.zip incubator-streampipes-installer
# e.g.:
zip -r apache-streampipes-installer-0.66.0-incubating.zip incubator-streampipes-installer/ |
Do a quick check if the source release contains any binary files, SNAPSHOT dependencies or other things that should not be part of the release.
Now we'll create a GPG signature:
Code Block |
---|
language | bash |
---|
title | Create GPG signature |
---|
|
gpg --detach-sign -a -u GPG_KEY apache-streampipes-installer-VERSION.zip
# e.g.:
gpg --detach-sign -a -u CA110DC0 apache-streampipes-installer-0.66.0-incubating.zip
# enter your passphrase when asked |
The next step is to create a checksum:
Code Block |
---|
language | bash |
---|
title | Create checksum |
---|
|
sha512sum apache-streampipes-installer-VERSION-incubating.zip > apache-streampipes-installer-VERSION-incubating.sha512
# e.g.:
sha512sum apache-streampipes-installer-0.66.0-incubating.zip > apache-streampipes-installer-0.66.0-incubating.sha512 |
Now we are ready to prepare the release candidate in the Apache SVN:
Code Block |
---|
language | bash |
---|
title | Upload source release to SVN |
---|
|
sha512sum apache-streampipes-installer-VERSION-incubating.zip > apache-streampipes-installer-VERSION-incubating.sha512
# e.g.:
sha512sum apache-streampipes-installer-0.66.0-incubating.zip > apache-streampipes-installer-0.66.0-incubating.sha512 |
- Create release candidate tag
- Create zip file
- Create gpg signature
- gpg --detach-sign -a -u CA110DC0 incubator-streampipes-installer-source-release.zip
- Create checksum
- sha512sum incubator-streampipes-installer-source-release.zip > incubator-streampipes-installer-source-release.sha512
- Upload files to SVN
- Create directory for current RC
- Add the following files:
- sha512
- asc
- RELEASE_VALIDATION, README and RELEASE_NOTES
- zip
...