You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/31 19:47:27 UTC
[logging-log4j-tools] branch master updated: Create checksums in CI while releasing
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 2257c94 Create checksums in CI while releasing
2257c94 is described below
commit 2257c9434c4ce5ba44917b3a07c027ce5bd0fca8
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 31 20:48:01 2023 +0100
Create checksums in CI while releasing
---
.github/workflows/build.yml | 2 ++
RELEASING.adoc | 11 ++++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 401ea76..c5da898 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -191,6 +191,8 @@ jobs:
export ZIP_FILEPATH="/tmp/apache-log4j-tools-${PROJECT_VERSION}-src.zip"
git ls-files -z | xargs -0 zip -9 "$ZIP_FILEPATH" --
gpg --armor --detach-sign --yes --pinentry-mode error "$ZIP_FILEPATH"
+ sha256sum "$ZIP_FILEPATH" > "$ZIP_FILEPATH.sha256"
+ sha512sum "$ZIP_FILEPATH" > "$ZIP_FILEPATH.sha512"
- name: Upload artifacts (RELEASE)
if: startsWith(github.ref, 'refs/heads/release/')
diff --git a/RELEASING.adoc b/RELEASING.adoc
index 10d39d9..66e1da6 100644
--- a/RELEASING.adoc
+++ b/RELEASING.adoc
@@ -32,17 +32,18 @@ In the code examples below, assuming the version to be released is `7.8.0`.
. Push the `release/7.8.0` branch
. Make sure the associated https://github.com/apache/logging-log4j-tools/actions[GitHub Actions workflow] succeeds:
.. **Signed artifacts** are uploaded to the _Staging Repositories_ in https://repository.apache.org/[repository.apache.org]
-.. **Signed sources** are uploaded as GitHub Actions workflow artifacts
+.. **Signed sources and their checksums** are uploaded as GitHub Actions workflow artifacts
+
If not, commit necessary fixes, push, and repeat.
. _Close_ the repository in https://repository.apache.org/[repository.apache.org]
-. Commit _the signed sources_ (e.g., `apache-log4j-tools-7.8.0-src.zip` and `apache-log4j-tools-7.8.0-src.zip.asc`) to https://dist.apache.org/repos/dist/dev/logging/log4j[dist.apache.org/repos/dist/**dev**/logging/log4j] Subversion repository
+. Commit _the signed sources and their checksums_ (e.g., `apache-log4j-tools-7.8.0-src.zip` and `apache-log4j-tools-7.8.0-src.zip.{asc,sha256,sha512}`) to https://dist.apache.org/repos/dist/dev/logging/log4j[dist.apache.org/repos/dist/**dev**/logging/log4j] Subversion repository and delete any artifacts from old releases
== Vote the release
-Collect release votes via email to `dev@logging.apache.org` using the following template
+Collect release votes via email using the following template:
+.`[VOTE] Release Apache Log4j Tools 7.8.0` titled email to `dev@logging.apache.org`
[source]
----
The Apache Log4j Tools 7.8.0 release is now available for voting.
@@ -75,8 +76,8 @@ If you are using GMail, simply enable the _"Plain text mode"_ while composing yo
. _Release_ the repository in https://repository.apache.org/[repository.apache.org]
. In https://dist.apache.org/repos/dist/release/logging/log4j[dist.apache.org/repos/dist] Subversion repository,
-.. move the signed sources from `*dev*/logging/log4j` directory to `*release*/logging/log4j-tools/7.8.0`
-.. delete files from an earlier release
+.. move the signed sources and their checksums from `*dev*/logging/log4j` directory to `*release*/logging/log4j-tools/7.8.0`
+.. delete the folder from an earlier release in `*release*/logging/log4j-tools`
.. commit changes
. Report the release at https://reporter.apache.org/[reporter.apache.org]
. Merge `release/7.8.0` changes to `master`