Commit 39156f4e authored by Martin Tzvetanov Grigorov's avatar Martin Tzvetanov Grigorov Committed by guillaume quintard

[cci] Copy the .dsc file to the folder

Add  _amd64|_arm64 before the extension
parent 8eb42d2c
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment