diff --git a/Makefile b/Makefile index b935c60..372b08d 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,8 @@ GO ?= go ifndef GOOS ifeq ($(OS), Windows_NT) GOOS := windows - GOEXT := .exe else GOOS := $(shell uname -s| tr '[:upper:]' '[:lower:]') - GOEXT := endif endif @@ -20,6 +18,13 @@ ifndef GOARCH GOARCH := arm64 endif endif + +ifeq ($(GOOS), windows) + GOEXT := .exe +else + GOEXT := +endif + # Set build targets based on OS VERSION ?= $(shell cat ./VERSION) diff --git a/VERSION b/VERSION index 17e51c3..d917d3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.1 +0.1.2