This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-common.git


The following commit(s) were added to refs/heads/master by this push:
     new 193a290  default branch may be main, take SBOMs into account
193a290 is described below

commit 193a2904ae07328a5960bfe2ee975814b26f0b16
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sun Jun 14 14:49:27 2026 +0200

    default branch may be main, take SBOMs into account
---
 ReleaseInstructions | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/ReleaseInstructions b/ReleaseInstructions
index d9a2a39..dfc519b 100644
--- a/ReleaseInstructions
+++ b/ReleaseInstructions
@@ -20,10 +20,16 @@ Note: this document is based on Ant core's 
ReleaseInstructions file
 3.  We don't want tags for failed votes to end up on our branches so
     the release is first created from a detached head.
 
-    Checkout the HEAD of the master branch as a detached head:
+    Checkout the HEAD of the main/master branch as a detached head:
 
     $ git checkout master^0
 
+    or
+
+    $ git checkout main^0
+
+    depending on the name of your default branch.
+
 4.  Make sure that your directory tree is clean by running git status.
     Some tests leave behind leftovers which end up in the source
     distribution otherwise.
@@ -71,7 +77,7 @@ Note: this document is based on Ant core's 
ReleaseInstructions file
 
 10. Sign the distribution files using the following simple script
     #!/bin/sh
-    for i in `/usr/bin/find distribution \( -name "*.bz2" -o -name  "*.zip" -o 
-name "*.gz" \)`
+    for i in `/usr/bin/find distribution \( -name "*.bz2" -o -name  "*.zip" -o 
-name "*.gz" -o -name "*.cyclonedx.json" -o -name "*.cyclonedx.xml" \)`
     do
          echo "Signing " $i
          gpg --use-agent --detach-sign --armor $i

Reply via email to