Browse Source

Use git soft tags to define VERSION.

tags/v2.6.1
Andrew Belt 2 months ago
parent
commit
dc0a3f0554
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -1,7 +1,7 @@
RACK_DIR ?= . RACK_DIR ?= .
EDITION := Free EDITION := Free
VERSION_MAJOR := 2 VERSION_MAJOR := 2
VERSION := $(VERSION_MAJOR).6.$(shell git rev-parse --short HEAD)
VERSION := $(patsubst v%,%,$(shell git describe --tags --match "v$(VERSION_MAJOR).*"))


FLAGS += -Iinclude -Idep/include FLAGS += -Iinclude -Idep/include




Loading…
Cancel
Save