| 1 |
Notice to make release tarballs from GIT |
| 2 |
---------------------------------------- |
| 3 |
|
| 4 |
1/ Release announcements can be send to kde-i18n-docs if internationalized strings are frozen. |
| 5 |
The earlier is better. |
| 6 |
|
| 7 |
2/ Commit last changes from source code to GIT. The code MUST compile in all cases. |
| 8 |
|
| 9 |
3/ Update the release info in top level CMakeLists.txt and commit to GIT. |
| 10 |
|
| 11 |
4/ Update the release info in appdata files for digiKam and Showfoto. Commit to GIT. |
| 12 |
|
| 13 |
5/ Update NEWS file. If ChangeLog is a dry historical record of development, |
| 14 |
NEWS should focus on the improvements and changes, summarize everything since |
| 15 |
last major release. Look in bugzilla for closed file summaries. |
| 16 |
Commit to GIT. |
| 17 |
|
| 18 |
Note: after a stable release, the NEWS file is moved from the root directory to the project sub-directory |
| 19 |
with the release IDs as file-name suffix. The NEWS file from the root directory is cleaned for the next release. |
| 20 |
|
| 21 |
6/ Tag Git with the release version in this format: vX.Y.Z-suffix. |
| 22 |
Use these commands: |
| 23 |
|
| 24 |
git tag -a vX.Y.Z-suffix -m "Create version X.Y.Z-suffix" && git push origin vX.Y.Z-suffix |
| 25 |
|
| 26 |
Where X is major version, Y minor version, and Z the patch version. |
| 27 |
The optional suffix is to indicate a non final release, as "-beta1" for ex. |
| 28 |
Look with "git tag" command for exiting tags in git. |
| 29 |
These git tags will be used to make tarball and all bundles. |
| 30 |
|
| 31 |
7/ Edit the bootstrap.tarball and patch the value from TARBALL_VERSION. |
| 32 |
Run the bootstrap.tarball script to release digiKam source tarball. This will include all translations |
| 33 |
files and the documentation. The script compiles all translations files to see if nothing is broken. |
| 34 |
At the end, if all is fine, the tarball properties must be displayed. |
| 35 |
3 files are generated: |
| 36 |
|
| 37 |
Source code tarball compressed as tar.xz. |
| 38 |
The archive signature is done with gpg. |
| 39 |
The SHA-256 checksums of files. |
| 40 |
|
| 41 |
Note: if .sig files are not generated with GPG, you can process signature computation with the command line |
| 42 |
below. In this example, the GPG key is installed to ~/.gnupg/dkorg-gpg-pwd.txt. |
| 43 |
|
| 44 |
cat ~/.gnupg/dkorg-gpg-pwd.txt | gpg --batch --yes --passphrase-fd 0 -stabv "tarball_file_to_sign" && mv "tarball_file_to_sign.asc" "tarball_file_to_sign.sig" |
| 45 |
|
| 46 |
NOTE: project/scripts/signbundles.sh can batch sign all files in current directory. |
| 47 |
|
| 48 |
8/ Upload tarball and signature to temporary FTP server at url |
| 49 |
|
| 50 |
ftp://upload.kde.org/incoming for the final publication. |
| 51 |
|
| 52 |
Create a "system admin task" to publish the files officially on download servers from this url: |
| 53 |
|
| 54 |
https://phabricator.kde.org/maniphest/task/edit/form/2/ |
| 55 |
|
| 56 |
Title: "New digiKam release X.Y.Z tarballs and bundles for Windows, Linux, and MacOS" |
| 57 |
|
| 58 |
Description: |
| 59 |
|
| 60 |
Destination: stable/digikam/X.Y.Z/ |
| 61 |
... |
| 62 |
List of SHA-256 + file names |
| 63 |
... |
| 64 |
|
| 65 |
Note: for beta release, destination is "unstable/digikam/" |
| 66 |
|
| 67 |
9/ Create bundles files with signatures for Linux, MacOS, and Windows. See README.BUNDLES for details. |
| 68 |
Use same workflow than source tarball. |
| 69 |
|
| 70 |
10/ Create a release announcement page on digikam.org web site. |
| 71 |
|
| 72 |
Web-site is hosted in a dedicated release repository: https://invent.kde.org/websites/digikam-org/ |
| 73 |
Website repository use a staging branch named "dev" to review changes before to post contents officially. |
| 74 |
See this README file for details: https://invent.kde.org/websites/digikam-org/blob/master/README |
| 75 |
The release announcement can use MarkDown format and are located to "news" directory. |
| 76 |
|
| 77 |
Don't forget to patch default download links with new stable releases files in data/release.yml. |
| 78 |
|
| 79 |
11/ Perform an official release announcement to these mailing-lists: |
| 80 |
|
| 81 |
[email protected] |
| 82 |
[email protected] |
| 83 |
[email protected] |
| 84 |
|
| 85 |
Title: digiKam X.Y.Z-suffix is released |
| 86 |
|
| 87 |
Dear digiKam fans and users, |
| 88 |
|
| 89 |
The digiKam development team is proud to release digiKam |
| 90 |
X.Y.Z-suffix. For more details, see announcement on |
| 91 |
digikam.org: |
| 92 |
|
| 93 |
https://www.digikam.org/news/date-X.Y.Z-suffix_release_announcement/ |
| 94 |
|
| 95 |
Best regards |
| 96 |
digiKam team |
| 97 |
|
| 98 |
--------------------------------------------------- |