mirror of https://github.com/liamg/aminal.git
fixed darwin build
This commit is contained in:
parent
74ea19eb58
commit
7a01195fd6
|
@ -46,12 +46,10 @@ jobs:
|
|||
- run:
|
||||
name: "Publish Release on GitHub"
|
||||
command: |
|
||||
go get github.com/tcnksm/ghr
|
||||
mkdir -p release
|
||||
ls -la artifacts/linux
|
||||
ls -la artifacts/darwin
|
||||
cp artifacts/linux/* release/
|
||||
cp artifacts/darwin/* release/
|
||||
go get github.com/tcnksm/ghr
|
||||
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} release/
|
||||
workflows:
|
||||
version: 2
|
||||
|
|
2
Makefile
2
Makefile
|
@ -36,4 +36,4 @@ build-linux:
|
|||
.PHONY: build-darwin
|
||||
build-darwin:
|
||||
mkdir -p bin/darwin
|
||||
xgo -x -v -ldflags "-X main.Version='${CIRCLE_TAG}'" --targets=darwin/amd64 -out bin/darwin/${BINARY}-darwin-amd64 .
|
||||
xgo -x -v -ldflags "-X main.Version='${CIRCLE_TAG}'" --targets=darwin/amd64 -out bin/darwin/${BINARY} .
|
||||
|
|
Loading…
Reference in New Issue