From 92652daf5a66cc54655b6982bbdee8b31a87cf65 Mon Sep 17 00:00:00 2001 From: Luca Corbatto Date: Thu, 12 Nov 2020 16:45:28 +0100 Subject: [PATCH] Adds deploy config to travisci --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.travis.yml b/.travis.yml index 84dafe8..9b1c87c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,3 +30,25 @@ script: - go build -trimpath -o ../../build/yapscan - popd - ./buildForWindows.sh + +before_deploy: + - pushd build + - 7z a yapscan_windows_amd64.zip yapscan.exe yapscan.dll + - 7z a yapscan_linux_amd64.zip yapscan + - tar -cvzf yapscan_windows_amd64.tar.gz yapscan.exe yapscan.dll + - tar -cvzf yapscan_linux_amd64.tar.gz yapscan + - popd + +deploy: + provider: releases + skip_cleanup: 'true' + api_key: + secure: SEqzkWiVZTZlK3FvJGku7a10rMVqSPTakdAP2M7p6z+S2SE3yRI4R4aiH3t73Yt2nDPGrW1ie43EsJ0WcPIIVaSHUArNBwdyoGRBtdAq461ZSwsskuMLVz28SreyiTwEb4cmRrx5eggGyAoO6kzuGyBVdnBY8Bzxtj0CVV/qeHxvvD6ARYxBQtq6izomd4hoMnCRKNApIUDFbLo2gnF4YOuAMgi45ALe5jchSHPESsa/e8x2e13WEOCIwmiHxRR4EXS/oOxr8kO792HEa324V7uPE1HaIH3z7fBWWcUMXJZSAYynbzsC2WAHzWgIcFHyqVUcs6IKMU8rweJcNNDIVrC/zY7Jm4/aEdyy/Kq3iReuSUkvv9HY0C+CGf8RK/7x/1LolYXDnXGIeEXF/dkqE4p/bOCKrlW8TePoEf8zUlSiZRd0+XdodyxrbjFdx0E5kePxLGeqkopfR/ubKN5DJY93ueFsVlKYGpWLOKxtZTJoxEcwhSm1EF2Lsd77+xySjeJbh00Ozu51C7lu8Obn4wzWCVLDnlt3X5pSqYEHKphIfVYr21LPD9uQc++XR7IfPQG/Gnz/CTBEGvwTYm29jaD0m5e1pshL5nr5lhCOQIH4iZWSmoCwa8GP3Kbix9tYtPAdOkd6crz3vj0EUEWmd9ioEutTOL3wduGzNTcBvXM= + file: + - build/yapscan_windows_amd64.zip + - build/yapscan_windows_amd64.tar.gz + - build/yapscan_linux_amd64.zip + - build/yapscan_linux_amd64.tar.gz + on: + repo: fkie-cad/yapscan + tags: true