From 80e0ecba0ac07b59df44d99962141e23d1fcc049 Mon Sep 17 00:00:00 2001 From: Xiaotian Wu Date: Fri, 23 Jul 2021 22:31:09 +0800 Subject: [PATCH] makedist.sh: update to 6.0 --- makedist.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 makedist.sh diff --git a/makedist.sh b/makedist.sh new file mode 100755 index 00000000000000..4b23052588fc3a --- /dev/null +++ b/makedist.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +name=linux +version=6.0 +tarballs=$name-$version-`date +%Y%m%d`.tar.xz + +git archive --format=tar.xz --prefix=$name-$version/ -o $tarballs HEAD + +if mountpoint /archlinux/ >/dev/null 2>&1;then + cp $tarballs /archlinux/sources +fi