Skip to content

Commit 2c79a3b

Browse files
committed
updated mail template for antora
1 parent 76eb4b3 commit 2c79a3b

File tree

3 files changed

+50
-8
lines changed

3 files changed

+50
-8
lines changed

doc/MailTemplate.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ Subject: [VOTE] Release Apache Log4net 3.1.0
33

44
This is a vote to release the Apache Log4net 3.1.0.
55

6-
Website: https://logging.staged.apache.org/log4net/release/release-notes.html
6+
Website: https://logging.staged.apache.org/log4net/release-notes.html
77
GitHub: https://github.com/apache/logging-log4net
8-
Commit: <todo insert>
8+
Commit: <todo>
99
Distribution: https://dist.apache.org/repos/dist/dev/logging/log4net/3.1.0
1010
Signing key: 0x7D24496A230E29D6349A99EF583E491578F02D5D
11-
Review kit: https://logging.apache.org/log4net/release/release-review-instructions.html
11+
Review kit: https://logging.staged.apache.org/log4net/release-review.html
1212

1313
Please download, test, and cast your votes on this mailing list.
1414

doc/RELEASING.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ release version 2.0.123:
1212

1313
1. Update the documentation under `src/site`
1414
- minimally, this means at least:
15-
- `src/site/xdoc/release/release-notes.xml`
16-
- copy an existing release section & think about:
15+
- `src/changelog`
16+
- copy an existing release folder & think about:
1717
- what does this release change?
1818
- bug fixes?
1919
- enhancements
@@ -28,7 +28,7 @@ release version 2.0.123:
2828
4. Clone out the log4net doc repo (https://github.com/apache/logging-log4net-site)
2929
- check out the `asf-staging` branch
3030
- create a folder which includes the version, eg `log4net-2.0.123`
31-
5. Copy the contents of `target/site` from this repo into the folder created in (5)
31+
5. Copy the contents of `target/site` from this repo into the folder created in (4)
3232
- remember to either update or link in sdk docs from a prior release
3333
6. Update the symlinks in the base of the docs repo, ie:
3434
- 2.0.x -> 2.0.123
@@ -60,8 +60,9 @@ release version 2.0.123:
6060
- `svn co https://dist.apache.org/repos/dist/release/logging -N apache-dist-logging-release`
6161
- `cd apache-dist-logging-release`
6262
- `svn up log4net`
63-
- copy in source & binary artifacts to respective locations
6463
- `svn delete` old items
64+
- copy all artifacts to the new folder
65+
- `svn add *`
6566
- `svn commit`
6667
16. push the .nupkg to nuget.org
6768
- via `dotnet`: `dotnet nuget push <path to package> -s nuget.org -k <your nuget api key>`
@@ -72,4 +73,4 @@ release version 2.0.123:
7273
- `git merge asf-staging`
7374
18. rename the release at github, eg to `rel/2.0.123`
7475
- double-check that the `rel` tag is created
75-
19. apply the next version by calling `./scripts/update-version.ps1 2.0.123 2.0.124`
76+
19. apply the next version by calling `./scripts/update-version.ps1 2.0.123 2.0.124`

scripts/build-release.ps1

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
param(
2+
$Version = '3.1.0'
3+
)
4+
"cleaning $PSScriptRoot/../build/ ..."
5+
rm -rf $PSScriptRoot/../build/*
6+
'building ...'
7+
dotnet test -c Release "-p:GeneratePackages=true;PackageVersion=$Version" $PSScriptRoot/../src/log4net/log4net.csproj
8+
'compressing source ...'
9+
pushd $PSScriptRoot/..
10+
git archive --format=zip --output $PSScriptRoot/../build/artifacts/apache-log4net-source-$Version.zip master
11+
popd
12+
'compressing binaries ...'
13+
cp $PSScriptRoot/verify-release.ps1 $PSScriptRoot/../build/artifacts/
14+
cp $PSScriptRoot/../LICENSE $PSScriptRoot/../build/Release/
15+
cp $PSScriptRoot/../NOTICE $PSScriptRoot/../build/Release/
16+
pushd $PSScriptRoot/../build/Release
17+
zip -r $PSScriptRoot/../build/artifacts/apache-log4net-binaries-$Version.zip .
18+
popd
19+
'signing ...'
20+
mv $PSScriptRoot/../build/artifacts/log4net.$Version.nupkg $PSScriptRoot/../build/artifacts/apache-log4net.$Version.nupkg
21+
pushd $PSScriptRoot/../build/artifacts
22+
gpg --armor --output ./apache-log4net.$Version.nupkg.asc --detach-sig ./apache-log4net.$Version.nupkg
23+
sha512sum -b ./apache-log4net.$Version.nupkg > ./apache-log4net.$Version.nupkg.sha512
24+
gpg --armor --output ./apache-log4net-source-$Version.zip.asc --detach-sig ./apache-log4net-source-$Version.zip
25+
sha512sum -b ./apache-log4net-source-$Version.zip > ./apache-log4net-source-$Version.zip.sha512
26+
gpg --armor --output ./apache-log4net-binaries-$Version.zip.asc --detach-sig ./apache-log4net-binaries-$Version.zip
27+
sha512sum -b ./apache-log4net-binaries-$Version.zip > ./apache-log4net-binaries-$Version.zip.sha512
28+
gpg --armor --output ./verify-release.ps1.asc --detach-sig ./verify-release.ps1
29+
sha512sum -b ./verify-release.ps1 > ./verify-release.ps1.sha512
30+
popd
31+
'cleaning site ...'
32+
rm -rf $PSScriptRoot/../target/*
33+
'building site ...'
34+
pushd $PSScriptRoot/..
35+
./mvnw site
36+
popd
37+
'creating tag ...'
38+
pause
39+
git tag "rc/$Version-rc1"
40+
'pushing tag ...'
41+
git push --tags

0 commit comments

Comments
 (0)