[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 for-8.0 3/5] scripts/make-release: Remove CI yaml and more
From: |
Alex Bennée |
Subject: |
Re: [PATCH v2 for-8.0 3/5] scripts/make-release: Remove CI yaml and more git files from the tarball |
Date: |
Mon, 28 Nov 2022 16:55:11 +0000 |
User-agent: |
mu4e 1.9.3; emacs 28.2.50 |
Thomas Huth <thuth@redhat.com> writes:
> These files are of no use in a normal tarball and thus should not
> be included here.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> scripts/make-release | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/make-release b/scripts/make-release
> index 44a9d86a04..febeb6cb36 100755
> --- a/scripts/make-release
> +++ b/scripts/make-release
> @@ -41,6 +41,9 @@ git submodule update --init --single-branch
> BaseTools/Source/C/BrotliCompress/brotli \
> CryptoPkg/Library/OpensslLib/openssl \
> MdeModulePkg/Library/BrotliCustomDecompressLib/brotli)
> +
> +rm -v .*.yml
Why remove them instead of excluding them like you do for .git* bellow.
> popd
> -tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination}
> +
> +tar --exclude=".git*" -cjf ${destination}.tar.bz2 ${destination}
In fact you could probably instead use a file (release.exclude?) and put
all those patterns in there?
> rm -rf ${destination}
--
Alex Bennée
- Re: [PATCH v2 for-8.0 1/5] scripts/make-release: Add a simple help text for the script, (continued)
- [PATCH v2 for-8.0 2/5] scripts/make-release: Only clone single branches to speed up the script, Thomas Huth, 2022/11/28
- [PATCH v2 for-8.0 5/5] scripts/make-release: Move roms into separate tarball, Thomas Huth, 2022/11/28
- [PATCH v2 for-8.0 4/5] roms: Add a README file with some basic information, Thomas Huth, 2022/11/28
- [PATCH v2 for-8.0 3/5] scripts/make-release: Remove CI yaml and more git files from the tarball, Thomas Huth, 2022/11/28
- Re: [PATCH v2 for-8.0 3/5] scripts/make-release: Remove CI yaml and more git files from the tarball,
Alex Bennée <=
- Re: [PATCH v2 for-8.0 0/5] scripts/make-release: Decrease size of the release tarballs, Stefan Hajnoczi, 2022/11/28
- Re: [PATCH v2 for-8.0 0/5] scripts/make-release: Decrease size of the release tarballs, Daniel P . Berrangé, 2022/11/28
- Re: [PATCH v2 for-8.0 0/5] scripts/make-release: Decrease size of the release tarballs, Thomas Huth, 2022/11/30