From bb6d55eb7ae226681e3f922197a56e43208fdd09 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 18 Jul 2019 16:16:13 +0200 Subject: [PATCH] fix the unpack.sh script --- debian/changelog | 6 ++++++ debian/prepare-new-release.sh | 2 +- debian/unpack.sh | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8de80b3c..210d75dc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-snapshot (1:10~svn366440-1~exp1) experimental; urgency=medium + + * New snapshot release + + -- Sylvestre Ledru Thu, 18 Jul 2019 16:15:20 +0200 + llvm-toolchain-snapshot (1:10~svn366022-1~exp2) experimental; urgency=medium * New version in snapshot (10) diff --git a/debian/prepare-new-release.sh b/debian/prepare-new-release.sh index 5d079450..811ca4f1 100644 --- a/debian/prepare-new-release.sh +++ b/debian/prepare-new-release.sh @@ -6,7 +6,7 @@ TARGET_VERSION_2=10_0 ORIG_VERSION_3=90 TARGET_VERSION_3=100 -LIST=`ls debian/control debian/orig-tar.sh debian/rules debian/patches/clang-analyzer-force-version.diff debian/patches/clang-format-version.diff debian/patches/python-clangpath.diff debian/patches/scan-build-clang-path.diff debian/patches/lldb-libname.diff debian/patches/fix-scan-view-path.diff debian/patches/lldb/lldb-addversion-suffix-to-llvm-server-exec.patch debian/patches/clang-tidy-run-bin.diff debian/patches/fix-scan-view-path.diff debian/README debian/patches/clang-analyzer-force-version.diff debian/patches/clang-tidy-run-bin.diff debian/tests/control` +LIST=`ls debian/control debian/orig-tar.sh debian/rules debian/patches/clang-analyzer-force-version.diff debian/patches/clang-format-version.diff debian/patches/python-clangpath.diff debian/patches/scan-build-clang-path.diff debian/patches/lldb-libname.diff debian/patches/fix-scan-view-path.diff debian/patches/lldb/lldb-addversion-suffix-to-llvm-server-exec.patch debian/patches/clang-tidy-run-bin.diff debian/patches/fix-scan-view-path.diff debian/README debian/patches/clang-analyzer-force-version.diff debian/patches/clang-tidy-run-bin.diff debian/tests/control debian/unpack.sh` for F in $LIST; do sed -i -e "s|$ORIG_VERSION_3|$TARGET_VERSION_3|g" $F sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F diff --git a/debian/unpack.sh b/debian/unpack.sh index f20cb71b..bb14ae71 100644 --- a/debian/unpack.sh +++ b/debian/unpack.sh @@ -1,6 +1,6 @@ set -e ORIG_VERSION=snapshot -MAJOR_VERSION=9 # 8.0.1 +MAJOR_VERSION=10 # 8.0.1 SVN_REV=`ls -1 *snapshot_$MAJOR_VERSION*svn*bz2 | tail -1|perl -ne 'print "$1\n" if /svn(\d+)/;' | sort -ru` #SVN_REV=347285 VERSION=svn$SVN_REV