From 63ed8d241da457bd3cfd2e9e74e7c262383ac0ae Mon Sep 17 00:00:00 2001 From: ivanfoo Date: Sat, 2 Jul 2016 12:50:39 +0200 Subject: [PATCH] travis: skip cleanup of artifacts --- .travis.yml | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1c6ee29..224bfd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,9 @@ script: after_success: - bash <(curl -s https://codecov.io/bash) +before_deploy: +- make packages + deploy: provider: releases api_key: @@ -22,6 +25,7 @@ deploy: file: - artifacts/mortadelo_${TRAVIS_TAG}_darwin_amd64.tgz - artifacts/mortadelo_${TRAVIS_TAG}_linux_amd64.tgz + skip_cleanup: true on: repo: ivanfoo/mortadelo tags: true diff --git a/Makefile b/Makefile index c156a34..da44970 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ ifneq ($(origin CI), undefined) COMMIT := $(shell echo $(TRAVIS_COMMIT) | cut -c1-10) BRANCH := $(TRAVIS_BRANCH) BUILD_PATH := $(TRAVIS_BUILD_DIR) - ARTIFACTS_PATH := $(TRAVIS_BUILD_DIR)/artifacst + ARTIFACTS_PATH := $(TRAVIS_BUILD_DIR)/artifacts endif dependencies: