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

Removed debug output on deploying. Fixed array iteration

parent f0bb3968
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
set -x
repack() { repack() {
DEBNAME=$1 DEBNAME=$1
...@@ -33,7 +31,7 @@ NOTONBUILDSERVER=0 ...@@ -33,7 +31,7 @@ NOTONBUILDSERVER=0
gitlab-runner -v 2&>> /dev/null || NOTONBUILDSERVER=$? gitlab-runner -v 2&>> /dev/null || NOTONBUILDSERVER=$?
if [[ $NOTONBUILDSERVER == 0 ]]; then if [[ $NOTONBUILDSERVER == 0 ]]; then
mkdir -p $REPO_DIR_SRC mkdir -p $REPO_DIR_SRC
for pkgfile in $PKGFILES; do for pkgfile in ${PKGFILES[@]}; do
cd $REPO_DIR_SRC cd $REPO_DIR_SRC
cp -v $wd/$PACKAGE_PATH/$pkgfile $REPO_DIR_SRC cp -v $wd/$PACKAGE_PATH/$pkgfile $REPO_DIR_SRC
for variant in $HOST_DISTR_VERSIONS; do for variant in $HOST_DISTR_VERSIONS; do
...@@ -53,7 +51,6 @@ fi ...@@ -53,7 +51,6 @@ fi
export -n "UPDVER" export -n "UPDVER"
rm -r $REPO_DIR_SRC rm -r $REPO_DIR_SRC
cd $wd cd $wd
set +x
exit 0 exit 0
#symlink name-actual to the latest version. #symlink name-actual to the latest version.
#build/deb/versions - for all files #build/deb/versions - for all files
......
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