[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] scripts/make-release: Remove CI yaml and more git files
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 3/3] scripts/make-release: Remove CI yaml and more git files from the tarball |
Date: |
Mon, 4 Jul 2022 08:29:41 +0100 |
On Mon, 4 Jul 2022 at 07:50, Thomas Huth <thuth@redhat.com> wrote:
>
> 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 | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/make-release b/scripts/make-release
> index 176304f30b..61c0fd0bfb 100755
> --- a/scripts/make-release
> +++ b/scripts/make-release
> @@ -61,6 +61,8 @@
> https://github.com/open-power/skiboot/archive/${skibootrev}.tar.gz
> EOF
> cd ../..
>
> +rm .*.yml
> popd
> -tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination}
> +
> +tar --exclude=".git*" -cjf ${destination}.tar.bz2 ${destination}
If the excludes become more elaborate in the future we can use tar
--exclude-from=FILE and keep a separate file with all the patterns
instead of using both rm and --exclude= patterns.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
- [PATCH 0/3] scripts/make-release: Decrease the size of the release tarballs, Thomas Huth, 2022/07/04
- [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Thomas Huth, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Stefan Hajnoczi, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Thomas Huth, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Daniel P . Berrangé, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Thomas Huth, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Gerd Hoffmann, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Daniel P . Berrangé, 2022/07/04
- Re: [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore, Thomas Huth, 2022/07/20
[PATCH 3/3] scripts/make-release: Remove CI yaml and more git files from the tarball, Thomas Huth, 2022/07/04
- Re: [PATCH 3/3] scripts/make-release: Remove CI yaml and more git files from the tarball,
Stefan Hajnoczi <=
[PATCH 2/3] scripts/make-release: Do not include the skiboot sources in the tarball anymore, Thomas Huth, 2022/07/04
Re: [PATCH 0/3] scripts/make-release: Decrease the size of the release tarballs, Stefan Hajnoczi, 2022/07/04
Re: [PATCH 0/3] scripts/make-release: Decrease the size of the release tarballs, Daniel P . Berrangé, 2022/07/04