Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Fix wercker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shiimaxx committed Apr 16, 2019
1 parent 6c5f890 commit d2caf9d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ build:
- script:
name: "go test"
code: "go test -v ./..."
- tcnksm/gox:
os: "linux"
arch: "amd64"
ldflags: "-X main.Version=$(git describe --tags)"
- script:
name: "archive"
code: |
DIST_DIR="${WERCKER_OUTPUT_DIR:?}/dist"
mkdir ${DIST_DIR:?} || true
cd ${WERCKER_OUTPUT_DIR:?}/pkg
find . -mindepth 1 -maxdepth 1 -type d | while read line; do tar zcfp ${DIST_DIR:?}/$line.tar.gz ${line:?} ; done
cd ${DIST_DIR:?}
md5sum * > MD5SUM
deploy:
steps:
- tcnksm/ghr:
Expand Down

0 comments on commit d2caf9d

Please sign in to comment.