Author: rinrab
Date: Sat Nov 23 12:40:10 2024
New Revision: 1922038

URL: http://svn.apache.org/viewvc?rev=1922038&view=rev
Log:
Exclude '.github' directory from the tar-balls.

This directory contains the configuration files for GitHub Actions, which
are not required to be included into the release tar-balls.

* tools/dist/release.py
  (roll_tarballs): Add this directory to 'exclude' variable, if it exists.

Modified:
    subversion/trunk/tools/dist/release.py

Modified: subversion/trunk/tools/dist/release.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1922038&r1=1922037&r2=1922038&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Sat Nov 23 12:40:10 2024
@@ -830,6 +830,8 @@ def roll_tarballs(args):
         exclude += ['STATUS']
         if args.version.minor < 7:
             exclude += ['packages', 'www']
+    if os.path.exists('.github'):
+        exclude += ['.github']
     cwd = os.getcwd()
     os.chdir(get_workdir(args.base_dir))
     run_svn(['update', '--set-depth=exclude'] + exclude,


Reply via email to