Skip to content

Commit

Permalink
version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Jul 19, 2018
1 parent b971eb9 commit 2df78a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## vortex server version
SERVER_VERSION = v0.1.0
## Folder content generated files
BUILD_FOLDER = ./build

Expand Down Expand Up @@ -43,7 +45,7 @@ govendor-sync:
src.build:
$(GO) build -v ./src/...
$(MKDIR_P) $(BUILD_FOLDER)/src/cmd/vortex/
$(GO) build -v -o $(BUILD_FOLDER)/src/cmd/vortex/vortex -ldflags="-X github.com/linkernetworks/vortex/src/version.version=1.0.0" ./src/cmd/vortex/...
$(GO) build -v -o $(BUILD_FOLDER)/src/cmd/vortex/vortex -ldflags="-X github.com/linkernetworks/vortex/src/version.version="$(SERVER_VERSION) ./src/cmd/vortex/...

.PHONY: src.test
src.test:
Expand Down Expand Up @@ -100,4 +102,4 @@ apps.teardown:

.PHONY: dockerfiles.build
dockerfiles.build:
docker build --tag sdnvortex/vortex:latest --file ./dockerfiles/Dockerfile .
docker build --tag sdnvortex/vortex:$(SERVER_VERSION) --file ./dockerfiles/Dockerfile .

0 comments on commit 2df78a7

Please sign in to comment.