Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit eb0dbf5

Browse files
committed
Merge branch 'master' of git@github.com:cncgoko/Goko.git
2 parents 3d10807 + 3ddf2d7 commit eb0dbf5

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
- TARGET: ftp://ftp.goko.fr//www/download/
1010
- UPDATE_FOLDER: update
1111
- updateRepository: true
12-
- updateBinaries: false
12+
- updateBinaries: true
1313
- gokoVersion: 0.3.0
1414

1515
cache:
@@ -30,7 +30,9 @@ after_failure:
3030
deploy:
3131
provider: bintray
3232
file: "/home/travis/build/cncgoko/Goko/bintray_descriptor.json"
33-
on: master
33+
on:
34+
branch: master
35+
condition: $updateBinaries = true
3436
user:
3537
secure: "G2usVWNBz0jgF94xCLUYS5goZ4Qkalm8nGaJVcbaVgAOnnt1+atCGqVfh7CxTdYOBqD2z0kZOEZ+DEfywo/3Eew8P92I0XAJmw4uXSYhXMCr4N8GED6bUMYCVOnoTHMifK1GiBjznAjIp++Uu6xFD0d+YBskECp+os/ZvA27UYp2OT4iknkDpkPATEJjDHRgzwf+F8E8b6YPXwA2AErVzdJ5kj6PqO9jsbQ8CJJgCNPGp/YxZ+2cFIJzuTcvViWwUjTsBfSRm5NhtnHmkii+INIfFnQSt7wZgcaA0pPuoGb85BCS8OGGrHDcinAVe/eL1wUITdoq876SdwteDQfq4fqThbNvaq/uxi6spURFWkE+5JVwF/XoHlEp+tRL9jKgo2sgHYBfNvI54cPznEae5dB/vgUWPAfm+UYLNiDXsgrll9lONZrAjelqb97VJq8h2G7CpjY3RmXYOR9jVeMKRS06Zpf1RXeL/GIBO5ITK/Omcv3pDG1vJ7lJ+TTScZ46tQ7Eiddnr5CdiVr3ILAJ/s8U1HNPTOV+a90YwmuIGdKYFXXFDObP8MLt0lHhEcECsa2mKMF0Dx1vQ/jX5fPiDHqVxULhLh+upZvaMfg0Va0bSuNkmUfRj/5g56wthvFDk1ZTluc8XwvG64kfBXQueC3w1RItBuPZAdi91l0br8E="
3638
key:

deploy.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ exportRepository(){
3131

3232
# Export the built binaries to destination
3333
exportBinaries(){
34-
echo "Exporting binaries..."
34+
# echo "Exporting binaries..."
3535

36-
cd $TRAVIS_BUILD_DIR/org.goko.build.product/target/products/
36+
# cd $TRAVIS_BUILD_DIR/org.goko.build.product/target/products/
3737

38-
curl --ftp-create-dirs -T org.goko-win32.win32.x86_64.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-win32.win32.x86_64.zip
39-
curl --ftp-create-dirs -T org.goko-win32.win32.x86.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-win32.win32.x86.zip
40-
curl --ftp-create-dirs -T org.goko-linux.gtk.x86_64.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-linux.gtk.x86_64.zip
41-
curl --ftp-create-dirs -T org.goko-linux.gtk.x86.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-linux.gtk.x86.zip
38+
# curl --ftp-create-dirs -T org.goko-win32.win32.x86_64.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-win32.win32.x86_64.zip
39+
# curl --ftp-create-dirs -T org.goko-win32.win32.x86.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-win32.win32.x86.zip
40+
# curl --ftp-create-dirs -T org.goko-linux.gtk.x86_64.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-linux.gtk.x86_64.zip
41+
# curl --ftp-create-dirs -T org.goko-linux.gtk.x86.zip -u $VAR1:$VAR2 $TARGET/$gokoVersion/org.goko-linux.gtk.x86.zip
4242

4343
}
4444
# Let's do it
@@ -50,9 +50,9 @@ else
5050
echo "Skipped repository export..."
5151
fi
5252

53-
if [ $updateBinaries == 'true' ]
54-
then
55-
exportBinaries
56-
else
57-
echo "Skipped binaries export..."
58-
fi
53+
#if [ $updateBinaries == 'true' ]
54+
#then
55+
# exportBinaries
56+
#else
57+
# echo "Skipped binaries export..."
58+
#fi

0 commit comments

Comments
 (0)