Skip to content

Commit

Permalink
feat: get version from git
Browse files Browse the repository at this point in the history
  • Loading branch information
LawyZheng committed Dec 13, 2022
1 parent 2feab49 commit a3baf75
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
@@ -1,7 +1,7 @@
# ARCH ?= $(shell uname -m)
# GOARCH ?= $(subst x86_64,amd64,$(patsubst i%86,386,$(ARCH)))
GOARCH ?= $(shell go env GOARCH)
VERSION ?= 0.5.0
VERSION ?= $(strip $(subst v, , $(shell git describe --abbrev=0)))
MAJOR_VERSION ?= 21
MINOR_VERSION ?= 7
ORACLE_VERSION ?= $(MAJOR_VERSION).$(MINOR_VERSION)
Expand Down

0 comments on commit a3baf75

Please sign in to comment.