grim/convey

Parents a121658f181b
Children 22eba3fdc82c
not sure why i hadn't considered usign GOOS and GOARCH for the filenames before, but it works fine
  • +4 -4
    convey.yml
  • --- a/convey.yml Mon Mar 02 16:56:27 2020 -0600
    +++ b/convey.yml Mon Mar 02 17:02:37 2020 -0600
    @@ -33,7 +33,7 @@
    - GOOS=linux
    - GOARCH=amd64
    workdir: ${CONVEY_WORKSPACE}
    - command: go build -o convey-${CONVEY_VERSION}-linux-amd64
    + command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
    build-windows:
    type: docker/run
    image: golang:1.12-buster
    @@ -41,7 +41,7 @@
    - GOOS=windows
    - GOARCH=amd64
    workdir: ${CONVEY_WORKSPACE}
    - command: go build -o convey-${CONVEY_VERSION}-windows-amd64.exe
    + command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}.exe
    build-darwin:
    type: docker/run
    image: ${GO_IMAGE}
    @@ -49,7 +49,7 @@
    - GOOS=darwin
    - GOARCH=amd64
    workdir: ${CONVEY_WORKSPACE}
    - command: go build -o convey-${CONVEY_VERSION}-darwin-amd64
    + command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
    build-freebsd:
    type: docker/run
    image: ${GO_IMAGE}
    @@ -57,7 +57,7 @@
    - GOOS=freebsd
    - GOARCH=amd64
    workdir: ${CONVEY_WORKSPACE}
    - command: go build -o convey-${CONVEY_VERSION}-freebsd-amd64
    + command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
    plans:
    default: