Skip to content
Snippets Groups Projects
Commit 273c1440 authored by Aleksandr Vodianov's avatar Aleksandr Vodianov Committed by Constantin P.
Browse files

hotfix-build_win

parent 9212b383
No related branches found
No related tags found
1 merge request!11hotfix-build_win
......@@ -10,7 +10,7 @@ export_variables "prod_build/general/conf/*"
echo "Mod handler"
if [[ $CI_COMMIT_REF_NAME != "" ]] && [[ $CI_COMMIT_REF_NAME != "master" ]]; then
export MOD="-${MOD}-${CI_COMMIT_REF_NAME}"
export MOD="-${CI_COMMIT_REF_NAME}"
fi
......
......@@ -33,7 +33,6 @@ error=0
#2DO: add trap command to clean the sources on exit.
mkdir -p build_win32/dist/share/
cd cellframe-node && git submodule update --init --remote && cd -
sed -i 's/#nsis_build/nsis_build/g' CellFrameDashboardGUI/CellFrameDashboardGUI.pro
sed -i 's/#nsis_build/nsis_build/g' CellFrameDashboardService/CellFrameDashboardService.pro
sed -i 's/compile.bat/compile.sh/g' CellFrameDashboardGUI/CellFrameDashboardGUI.pro
......
......@@ -17,7 +17,7 @@ PKGFILES=$(ls . | grep .exe)
#echo "On path $REPO_DIR_SRC we have exe files."
for pkgfile in $PKGFILES; do
pkgname=$(echo $pkgfile | sed 's/.exe$//')
pkgname_public=$(echo $pkgname | cut -d '-' -f2-4,7-) #cutting away Debian-9.12
pkgname_public=$(echo $pkgname | cut -d '-' -f1-4,7-) #cutting away Debian-9.12
pkgname_weblink="$(echo $pkgname | cut -d '-' -f2,8 )-latest" #leaving only necessary entries
mv $pkgfile $wd/$PACKAGE_PATH/$pkgname$MOD.exe || { echo "[ERR] Something went wrong in publishing the package. Now aborting."; exit -4; }
CODENAME=$(echo $pkgname | rev | cut -d '-' -f1 | rev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment