From ef45e8c21086174feed4357b79ab117959822f9c Mon Sep 17 00:00:00 2001 From: Jon Stevens Date: Tue, 27 Feb 2018 09:09:11 +0700 Subject: [PATCH] fix travis config --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4c82da7..38e443e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,7 @@ install: - dep ensure stages: - test -- name: deploy-amd64 - if: branch = master -- name: deploy-darwin +- name: deploy if: branch = master jobs: include: @@ -20,7 +18,7 @@ jobs: before_deploy: - git config --local user.name "lookfirst" - git config --local user.email "latchkey@gmail.com" - - git tag "$(date '+%Y%m%d-%H%M%S')-$(git log --format=%h -1)" + - git tag "$(date '+%Y%m%d-%H%M%S')-$(git log --format=%h -1)-${TRAVIS_BUILD_NUMBER}" deploy: provider: releases file: