[master] 39156f4ea [cci] Copy the .dsc file to the folder

guillaume quintard gquintard at users.noreply.github.com
Fri May 29 04:49:06 UTC 2020


commit 39156f4eab7e7d2f754d56f6511515eb853ca6f1
Author: Martin Tzvetanov Grigorov <mgrigorov at apache.org>
Date:   Thu May 28 22:19:13 2020 +0300

    [cci] Copy the .dsc file to the folder
    
    Add  _amd64|_arm64 before the extension

diff --git a/.circleci/make-deb-packages.sh b/.circleci/make-deb-packages.sh
index f4939ec1e..3b3ba0847 100755
--- a/.circleci/make-deb-packages.sh
+++ b/.circleci/make-deb-packages.sh
@@ -49,4 +49,14 @@ dpkg-buildpackage -us -uc -j16
 
 echo "Prepare the packages for storage..."
 mkdir -p packages/$PARAM_DIST/$PARAM_RELEASE/
-mv ../*.deb ../*.dsc packages/$PARAM_DIST/$PARAM_RELEASE/
+mv ../*.deb packages/$PARAM_DIST/$PARAM_RELEASE/
+
+if [ "`uname -m`" = "x86_64" ]; then
+  ARCH="amd64"
+else
+  ARCH="arm64"
+fi
+
+DSC_FILE=$(ls ../*.dsc)
+DSC_FILE_WO_EXT=$(basename ${DSC_FILE%.*})
+mv $DSC_FILE packages/$PARAM_DIST/$PARAM_RELEASE/${DSC_FILE_WO_EXT}_${ARCH}.dsc


More information about the varnish-commit mailing list