Commit ecc98615 authored by Marian Dovgialo's avatar Marian Dovgialo

Merge branch 'dev/22_javaless_release_and_https' into 'development'

#22 Changing http to https and adding standalone release

See merge request brain/svarog2!212
parents 300ddf19 2340cc0d
......@@ -16,6 +16,7 @@ build_svarog_standalone:
- apt-get update && apt-get install -y --no-install-recommends zip unzip tar sed
- ./scripts/ci/buildzip.sh
- mkdir -p dist
- cp dist/svarog-*-standalone.zip ./
- mv dist/svarog-*-standalone.zip dist/svarog.zip
- cd dist
- mkdir svarog
......@@ -33,6 +34,7 @@ build_svarog_standalone:
name: "svarog_standalone"
paths:
- svarog-standalone-package
- svarog-*-standalone.zip
# used for svarog-streamer, svarog-lab, includes JRE
build_svarog_win_zip:
......@@ -185,6 +187,7 @@ deploy_braintech_pl:
- build_svarog_installer_windows
- build_svarog_mac
- signdebs
- build_svarog_standalone
script:
- export ADDRESS=$BRAINTECH_SRV
- export USR=$BRAINTECH_USR
......
......@@ -9,17 +9,20 @@ set -e
SVAROG_PKG_WIN=`ls Svarog_installer*.exe`
SVAROG_PKG_MAC=`ls svarog_mac*.zip`
SVAROG_PKG_LIN=`ls svarog*.deb`
SVAROG_PKG_STANDALONE=`ls svarog-*-standalone.zip`
echo "RewriteEngine On
RewriteRule ^svarog-latest-win\.zip $SVAROG_LOCATION/svarog/$SVAROG_PKG_WIN [L,R=302]
RewriteRule ^svarog-latest-lin\.zip $SVAROG_LOCATION/svarog/$SVAROG_PKG_LIN [L,R=302]
RewriteRule ^svarog-latest-mac\.zip $SVAROG_LOCATION/svarog/$SVAROG_PKG_MAC [L,R=302]" > .htaccess
RewriteRule ^svarog-latest-mac\.zip $SVAROG_LOCATION/svarog/$SVAROG_PKG_MAC [L,R=302]
RewriteRule ^svarog-latest-standalone\.zip $SVAROG_LOCATION/svarog/$SVAROG_PKG_STANDALONE [L,R=302]" > .htaccess
sshpass -p $PSW sftp -o StrictHostKeyChecking=no $USR@$ADDRESS << EOT
cd svarog
mput Svarog_installer*.exe
mput svarog_mac*.zip
mput svarog*.deb
mput svarog-*-standalone.zip
put .htaccess
EOT
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