mirror of
https://github.com/zellyn/diskii.git
synced 2025-01-18 03:30:09 +00:00
Try to do Travis releases with just the yaml file
This commit is contained in:
parent
6d35285a7a
commit
cdfae2f6d0
@ -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)
|
||||
|
13
Makefile
13
Makefile
@ -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)
|
Loading…
x
Reference in New Issue
Block a user