Skip to content

Commit

Permalink
fix: Fix setting the version number. (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
goloroden authored Apr 10, 2024
1 parent 02ddb1d commit bfe4f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ detect-version:
@echo "Current Version: ${VERSION}"

build-auto: qa clean detect-version
@go build -ldflags="-X 'github.com/thenativeweb/get-next-version/version.Version=$(VERSION)'" -o ./build/get-next-version
@go build $(COMMON_FLAGS) -o $(BUILD_DIR)/$(BINARY_NAME)

build-darwin-amd64: qa clean detect-version
@GOOS=darwin GOARCH=amd64 go build $(COMMON_FLAGS) -o $(BUILD_DIR)/$(BINARY_NAME)-darwin-amd64
Expand Down

0 comments on commit bfe4f9e

Please sign in to comment.