From 036fce368b8cb1612fe706a6d2d30c4a470de74c Mon Sep 17 00:00:00 2001 From: devgianlu Date: Mon, 7 Oct 2019 18:49:40 +0200 Subject: [PATCH] Publish GitHub release --- .travis.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3115c27..9745c7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ before_install: - sudo apt-get update - sudo apt-get install -y autoconf automake autopoint autotools-dev libtool libxml2-dev libcppunit-dev + before_script: - wget https://dl.google.com/android/repository/android-ndk-r20-linux-x86_64.zip - unzip -q android-ndk-r20-linux-x86_64.zip @@ -16,4 +17,25 @@ script: - file ./bin/armeabi-v7a/bin/aria2c - file ./bin/arm64-v8a/bin/aria2c - file ./bin/x86/bin/aria2c - - file ./bin/x86_64/bin/aria2c \ No newline at end of file + - file ./bin/x86_64/bin/aria2c + + +before_deploy: + - mv ./bin/armeabi-v7a/bin/aria2c aria2c-armeabi-v7a + - mv ./bin/arm64-v8a/bin/aria2c aria2c-arm64-v8a + - mv ./bin/x86/bin/aria2c aria2c-x86 + - mv ./bin/x86_64/bin/aria2c aria2c-x86_64 + +deploy: + provider: releases + draft: true + api_key: + secure: "3KqVYxMDfQSWeBt5Ci1SCxjrtkhxcZHwC0nXx8LmGoEM0o22fnUTzjgo4PXqo7MJiGldBjfbbJDJ7lNU5pdqPtQvKo6hFOwS3VX8FUfMBvZnWGQIYV9RLzh4ZZ/tS6UtEFUhgO3AintjmRFWLBeE3pWG9OUxUGc3CRXMV54rdWKMyqC5H7CZxup1hnJerGqEhhT1okEOT2E4iOPQdFNWeqHOQ15zI7QT6ljPLkKW57fqpBnf07SH09xL/oohXBy9xTH+bpj6AF3r3m7pmfXtU1HD0MFV/OHzuzA4B0qdiEGAZXLXg1RFIoW062TDqUWPzTBU4LHRjqvqk/WROlD1tEsxGy9/kUhxSerd1xSPhfxtAL0esC1ueJ3MDzBHwdh/liy/k/z+NwV2k2HCvkIhb7V45SMXx1DXtAQPdXYEPjN2PLNTVy5Em4G5iS6XiKOZsClQ8gy00Ei5Tcp+2gBWlAWlCwayxV1Wow2ZyICsJbWlRv34FJHxD2jYbyhcSwBmdTem4lPjB3wBh4XoFqLoZJbnfDblPhOjfZs0cTfTyb25arG7zrhJUGg0NOdUbEBlKP+ivKmxXWaKx8o7oOcLrxM2lUjORocEFyiO+LCKRv3M/JLpGHtaYjdOFM/KuyDroZQGOngPyPLNr69uwql/HcTwpaBxaTISI15PK0nnsfo=" + file: + - aria2c-armeabi-v7a + - aria2c-arm64-v8a + - aria2c-x86 + - aria2c-x86_64 + skip_cleanup: true + on: + tags: true \ No newline at end of file