mirror of
https://github.com/zellyn/diskii.git
synced 2026-04-21 08:16:26 +00:00
Try to do Travis releases with just the yaml file
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user