@@ -2,7 +2,7 @@ Releasing a Log4cxx version
2
2
===================
3
3
4
4
This document lists the steps that must be performed to release Log4cxx
5
- using 1.3.0 as the example.
5
+ using 1.3.1 as the example.
6
6
7
7
Prerequisites
8
8
----------
@@ -11,22 +11,26 @@ Prerequisites
11
11
* The change log (in src/site/markdown/change-report-gh.md) is up-to-date.
12
12
* The web-site for the new version has been published to https://logging.staged.apache.org/log4cxx (using [ this procedure] ( staging.md ) )
13
13
* An e-mail has been sent to
[email protected] announcing the intention to release
14
+ * Your e-mail client can send mail from your ` @apache.org ` address. (Refer: https://eventmesh.apache.org/community/how-to-use-email/ )
14
15
* Your public key is available in [ Apache Logging KEYS file] ( https://dist.apache.org/repos/dist/release/logging/KEYS )
15
16
16
17
Steps
17
18
-----
18
19
19
20
1 . Tag HEAD as the release candidate
20
21
- ` git checkout master `
21
- - ` git push origin tag v1.3.0 -RC1 `
22
+ - ` git push origin tag v1.3.1 -RC1 `
22
23
1 . Remove the old artifacts from svn
23
24
- ` svn co https://dist.apache.org/repos/dist/dev/logging -N apache-dist-logging-dev `
24
25
- ` cd apache-dist-logging-dev `
25
26
- ` svn up log4cxx `
26
27
- ` cd log4cxx `
27
28
- ` svn delete * `
29
+ - ` mkdir 1.3.1 `
30
+ - ` svn add 1.3.1 `
31
+ - ` cd 1.3.1 `
28
32
1 . Download the packaged release files from Github
29
- - Open https://github.com/apache/logging-log4cxx/commits/v1.3.0 -RC1 in your web browser
33
+ - Open https://github.com/apache/logging-log4cxx/commits/v1.3.1 -RC1 in your web browser
30
34
- Click the green tick mark on the top commit
31
35
- The ` All checks have passed ` pop-up window will display
32
36
- Click the "Details" link on the row next to ` Generate release files / Package code for release `
@@ -35,44 +39,48 @@ Steps
35
39
- The numbered steps will display
36
40
- Click the link next to ` Artifact download URL: `
37
41
- The browser will download the file ` Upload release files.zip ` onto your system
38
- 1 . Unpack the release files using these commands
39
- - ` cd apache-dist-logging-dev/log4cxx `
42
+ 1 . Unpack the release files using these commands (with ` apache-dist-logging-dev/log4cxx/1.3.1 ` as the working directory)
40
43
- ` unzip "$HOME/Downloads/Upload release files.zip" `
41
- 1 . Sign release artifacts (Refer: https://infra.apache.org/release-signing.html ) (with ` apache-dist-logging-dev/log4cxx ` as the working directory)
42
- - ` gpg --armor --output apache-log4cxx-1.3.0 .zip.asc --detach-sig apache-log4cxx-1.3.0 .zip `
43
- - ` gpg --armor --output apache-log4cxx-1.3.0 .tar.gz.asc --detach-sig apache-log4cxx-1.3.0 .tar.gz `
44
- 1 . Send the new artifacts to svn (with ` apache-dist-logging-dev/log4cxx ` as the working directory)
44
+ 1 . Sign release artifacts (Refer: https://infra.apache.org/release-signing.html ) (with ` apache-dist-logging-dev/log4cxx/1.3.1 ` as the working directory)
45
+ - ` gpg --armor --output apache-log4cxx-1.3.1 .zip.asc --detach-sig apache-log4cxx-1.3.1 .zip `
46
+ - ` gpg --armor --output apache-log4cxx-1.3.1 .tar.gz.asc --detach-sig apache-log4cxx-1.3.1 .tar.gz `
47
+ 1 . Send the new artifacts to svn (with ` apache-dist-logging-dev/log4cxx/1.3.1 ` as the working directory)
45
48
- ` svn add * `
46
- - ` svn commit -m 'log4cxx 1.3.0 ' `
49
+ - ` svn commit -m 'log4cxx 1.3.1 ' `
47
50
- check https://dist.apache.org/repos/dist/dev/logging/log4cxx
48
51
1 . Raise a vote on the mailing list (
[email protected] )
49
52
- Using [ this template] ( MailTemplate.txt )
53
+ - Set the e-mail to ` Plain text mode `
50
54
1 . Wait 72 hours (the minimum)
51
55
1 . When the vote has 3 or more +1's, announce the result
52
56
- Using [ this template] ( MailTemplate.Result.txt )
53
57
1 . Get artifacts up to https://downloads.apache.org/logging/log4cxx/
54
- - ` svn move -m "Release log4cxx 1.3.0 " https://dist.apache.org/repos/dist/dev/logging/log4cxx https://dist.apache.org/repos/dist/release/logging/log4cxx/1.3.0 `
58
+ - ` svn move -m "Release log4cxx 1.3.1 " https://dist.apache.org/repos/dist/dev/logging/log4cxx/1.3.1 https://dist.apache.org/repos/dist/release/logging/log4cxx/ `
55
59
1 . Tag the released version
56
- - ` git checkout v1.3.0-RC1 `
57
- - ` git push origin tag rel/v1.3.0 `
60
+ - ` git checkout v1.3.1-RC1 `
61
+ - ` git tag rel/v1.3.1 `
62
+ - ` git push origin tag rel/v1.3.1 `
58
63
1 . Set your details in ` src/site/CMakeLists.txt `
59
64
- Set your name in the LOG4CXX_RELEASE_MANAGER variable
60
65
- Set your GnuPG key in the LOG4CXX_RELEASE_MANAGER_KEY variable
61
66
1 . Enter the release date in ` src/site/markdown/change-report-gh.md `
62
67
- Commit the change
63
68
- Update the staged web site using [ the update procedure] ( staging.md )
64
- 1 . Check the staged web site is ready to go live
69
+ 1 . Check the staged web site ( https://logging.staged.apache.org/log4cxx ) is ready to go live
65
70
- Are you are seeing the release date on changelog?
66
71
- Do the links on download page work?
67
72
1 . Make the new version of the web site live.
68
73
- ` git clone https://github.com/apache/logging-log4cxx-site /tmp/log4cxx-site `
69
74
- ` cd /tmp/log4cxx-site `
75
+ - ` git fetch origin asf-staging `
76
+ - ` git rebase origin/asf-staging `
70
77
- ` git checkout asf-site `
71
- - ` git rebase asf-staging `
72
78
- ` git push origin asf-site `
73
79
1 . Check https://logging.apache.org/log4cxx (after a minute or two)
74
80
- Are you seeing the new pages?
75
81
- Do the download links now work?
76
82
1 . Announce the release to the mailing lists (
[email protected] ,
[email protected] )
77
83
- Using [ this template] ( MailTemplate.Announce.txt )
84
+ - Send the mail using your ` @apache.org ` account
85
+ - Set the e-mail to ` Plain text mode `
78
86
0 commit comments