From cdfae2f6d064dcce539c50619a3a69308c939587 Mon Sep 17 00:00:00 2001 From: Zellyn Hunter Date: Sun, 13 Nov 2016 22:21:13 -0500 Subject: [PATCH] Try to do Travis releases with just the yaml file --- .travis.yml | 6 ++++++ Makefile | 13 ------------- 2 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml index 734ca44..7857a2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,12 @@ deploy: - release/diskii-linux-amd64 - release/diskii-macos-amd64 - release/diskii-windows-amd64.exe + skip_cleanup: true on: repo: zellyn/diskii tags: true +after_success: + - mkdir -p release + - GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64 $(package) + - GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64 $(package) + - GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe $(package) diff --git a/Makefile b/Makefile deleted file mode 100644 index b38a402..0000000 --- a/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# github release creation copied from instructions at: -# https://loads.pickle.me.uk/2015/08/22/easy-peasy-github-releases-for-go-projects-using-travis/ -# https://web.archive.org/web/20161114025928/https://loads.pickle.me.uk/2015/08/22/easy-peasy-github-releases-for-go-projects-using-travis/ - -package = github.com/zellyn/diskii - -.PHONY: release - -release: - mkdir -p release - GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64 $(package) - GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64 $(package) - GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe $(package)