Browse Source

Use git tag to get version in Makefile.

tags/v2.2.0
Andrew Belt 1 year ago
parent
commit
ed3fcb3757
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -1,7 +1,7 @@
RACK_DIR ?= .
VERSION_MAJOR := 2
# VERSION := 2.git.$(shell git rev-parse --short HEAD)
VERSION := 2.1.2
VERSION := $(shell git describe --tags)
VERSION := $(patsubst v%,%,$(VERSION))

FLAGS += -Iinclude -Idep/include



Loading…
Cancel
Save