From 67786a14b47f4078dffa9a27f36298c9d9cf09d8 Mon Sep 17 00:00:00 2001 From: Mathieu Cartoixa Date: Tue, 2 Jan 2018 10:25:50 +0100 Subject: [PATCH] Set up release deployment --- .travis.yml | 16 +++++++++++++--- build.bat | 4 ++-- dlm/build.xml | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7747f3d..ae910ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,22 @@ language: php php: - - '5.6' +- '5.6' env: - DLM_PACKAGE_VERSION=1.0.$TRAVIS_BUILD_NUMBER install: - - php bin/composer.phar install -q -n + - php bin/composer.phar install -n script: - - vendor/bin/phing -f build.xml prepare.version release \ No newline at end of file + - vendor/bin/phing -f build.xml prepare.version release + +deploy: + provider: releases + api_key: + secure: "Q4UNbY2lQlvEWgGxJE8w3k7WWePXyJMuFVuIbgSYmdmFGrqxl9L+Aj6zCqTOcpCKa4xzL1e1gTvJ/hN5ljx9bqIKYj9hb9gDQjRIjwshTLL8C738u7t1Jsrjuo1OqYRWInmTxviewqGIPvraNCu2kwBTnLYzsVAsGZRi6oi1pVC/EvSnsB5WdF1+b/1pNXaeiCxpF2/WbWD1eqeZ4mDIDwtKrwVVDZIypOrNckQEyDqFSN5rAiEJD/Ll3j2qpOcxLvMsgj+mZUJsY/eAXQSNbVt9eQqA/96bPu29iwvK9g5IO1OWymaTwDEqH0jDdSOMtv4UnqgiCW37wYlmTH6vqV4akshpHK7D4Vxdl5mPHE1Pte7vXb6ozbrtq9kuQaDKg02/SW4p1IRC7RF6N/7qfYzm38CoY7SKvEOj7iS86VYBTrRu/smiZFgjstSWkbDBlLva7IWMmlW5/fqgCyOLHt5QYRL6cq6JUKso5fknPBr6jPglic7UrZZMYs8vky+r8+xpaj5Ej/ZEGRCFxuG3y2b3yRTeJFGjKoohUSYPFb//yj88JYp1uAP9zYKpJoa4rHVSi059Rm8/JgpD+I+D/fFeIwBnXN0gWP975PzivOngy96gnScj3TGfpZbKe8tA8pggK2X6qLh63B0rlbGhvGMHyknmS5PM2kISMU0OVdM=" + file_glob: true + file: tmp/out/bin/* + skip_cleanup: true + on: + tags: true diff --git a/build.bat b/build.bat index 741ac6d..bdf27b9 100644 --- a/build.bat +++ b/build.bat @@ -4,7 +4,7 @@ :: :: /clean - Cleans the project :: /rebuild - Cleans and builds the project (default) -:: /release - Rebuilds the project and performs additional operations +:: /release - Rebuilds the project and creates the packages :: :: /NoPause - Does not pause after completion :: /? - Gets the usage for this script @@ -92,7 +92,7 @@ ECHO Usage: "build [/clean | /rebuild | /release] [/NoPause] [/?]" ECHO. ECHO /clean - Cleans the project ECHO /rebuild - Cleans and builds the project (default) -ECHO /release - Rebuilds the project and performs additional operations +ECHO /release - Rebuilds the project and creates the packages ECHO. ECHO /NoPause - Does not pause after completion ECHO /? - Gets the usage for this script diff --git a/dlm/build.xml b/dlm/build.xml index 1833859..1407282 100644 --- a/dlm/build.xml +++ b/dlm/build.xml @@ -72,7 +72,7 @@ - +