Browse Source

release fixed

bugtaker 5 years ago
parent
commit
fdf2f4e44c
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .goreleaser.yml
  2. 1 1
      Makefile

+ 2 - 2
.goreleaser.yml

@@ -2,9 +2,9 @@ before:
   hooks:
   - go mod download
 builds:
-  - env:
-    - CGO_ENABLED=0
   -
+    env:
+      - CGO_ENABLED=0
     main: ./main.go
     binary: giter
     ldflags: -s -w -X main.version={{.Version}}

+ 1 - 1
Makefile

@@ -10,7 +10,7 @@ setup:
 # Build all files.
 build:
 	@echo "==> Building"
-	@go build
+	@go build -o bin/giter
 .PHONY: build
 
 # Run all the linters