Skip to content

Commit

Permalink
Fix release directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
summerwind committed Jan 25, 2020
1 parent a33e55c commit 0452327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ tasks:
package:
cmds:
- GOOS={{.OS}} GOARCH={{.ARCH}} CGO_ENABLED=0 go build {{.BUILD_FLAGS}} .
- tar -czf dist/{{.NAME}}_{{.OS}}_{{.ARCH}}.tar.gz {{.NAME}}
- tar -czf release/{{.NAME}}_{{.OS}}_{{.ARCH}}.tar.gz {{.NAME}}
- rm -rf {{.NAME}}
release:
deps: [test]
cmds:
- mkdir -p dist
- mkdir -p release
- task: package
vars: {OS: "linux", ARCH: "amd64"}
- task: package
Expand Down

0 comments on commit 0452327

Please sign in to comment.