Fix package build

This commit is contained in:
Victor Zverovich 2024-06-30 08:23:25 -07:00
parent e89568e6cb
commit 43c5b34749
2 changed files with 1 additions and 3 deletions

View File

@ -505,8 +505,7 @@ if (FMT_MASTER_PROJECT AND EXISTS ${gitignore})
string(REPLACE "*" ".*" line "${line}")
set(ignored_files ${ignored_files} "${line}$" "${line}/")
endforeach ()
set(ignored_files ${ignored_files}
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
set(ignored_files ${ignored_files} /.git /build)
set(CPACK_SOURCE_GENERATOR ZIP)
set(CPACK_SOURCE_IGNORE_FILES ${ignored_files})

View File

@ -176,7 +176,6 @@ def release(args):
run = Runner(fmt_repo.dir)
run('cmake', '.')
run('make', 'doc', 'package_source')
shutil.rmtree('build')
# Create a release on GitHub.
fmt_repo.push('origin', 'release')