Skip to content
Snippets Groups Projects
Commit 7e39b6f9 authored by alexandr.kravchenko's avatar alexandr.kravchenko
Browse files

likely fixed the condition

parent f2521de7
No related branches found
No related tags found
1 merge request!170features-4402
......@@ -28,7 +28,8 @@ for pkgfile in $PKGFILES; do
CODENAME=$(echo $pkgname | rev | cut -d '-' -f1 | rev)
cp -r ../prod_build/general/essentials/weblink-latest ../prod_build/general/essentials/$pkgname_weblink
sed -i "/document/s/cellframe.*deb/$pkgname_public$MOD.deb/" ../prod_build/general/essentials/$pkgname_weblink/index.php
if [[ $(echo $CI_COMMIT_REF_NAME | grep "master\|^release") ]]; then
if [[ $(echo $CI_COMMIT_REF_NAME | grep "master\|^release") != "" ]]; then
echo "REF_NAME is $CI_COMMIT_REF_NAME"
scp -i $CELLFRAME_REPO_KEY $wd/$PACKAGE_PATH/$pkgname$MOD.deb "$CELLFRAME_FILESERVER_CREDS:$CELLFRAME_FILESERVER_PATH/$SUBDIR/$pkgname_public$MOD.deb"
scp -r -i $CELLFRAME_REPO_KEY ../prod_build/general/essentials/$pkgname_weblink "$CELLFRAME_FILESERVER_CREDS:$CELLFRAME_FILESERVER_PATH/$SUBDIR/"
if [[ $CI_COMMIT_REF_NAME == "master" ]]; then
......
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