Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/rancher/k3d
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Apr 27, 2019
2 parents ce4f9d2 + 705ef69 commit 5e28779
Show file tree
Hide file tree
Showing 11 changed files with 619 additions and 177 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ ifeq ($(GIT_TAG),)
GIT_TAG := $(shell git describe --always)
endif

# get latest k3s version
K3S_TAG := $(shell curl --silent "https://api.github.com/repos/rancher/k3s/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')

# Go options
GO ?= go
PKG := $(shell go mod vendor)
TAGS :=
TESTS := .
TESTFLAGS :=
LDFLAGS := -w -s -X github.com/rancher/k3d/version.Version=${GIT_TAG}
LDFLAGS := -w -s -X github.com/rancher/k3d/version.Version=${GIT_TAG} -X github.com/rancher/k3d/version.K3sVersion=${K3S_TAG}
GOFLAGS :=
BINDIR := $(CURDIR)/bin
BINARIES := k3d
Expand Down
Loading

0 comments on commit 5e28779

Please sign in to comment.