Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 528fa51

Browse files
committed
Move version into separate file.
1 parent e1529e8 commit 528fa51

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PKG_CONFIG ?= pkg-config
33

44
# Note: Use "-C .git" to avoid ascending to parent dirs if .git not present
55
GIT_REVISION_ID = $(shell git -C .git rev-parse --short HEAD 2>/dev/null)
6-
PLUGIN_VERSION ?= 0.1.$(shell date +%Y.%m.%d).git.$(GIT_REVISION_ID)
6+
PLUGIN_VERSION ?= $(shell cat VERSION)~git$(GIT_REVISION_ID)
77

88
CFLAGS ?= -O2 -g -pipe -Wall
99
LDFLAGS ?= -Wl,-z,relro

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0

0 commit comments

Comments
 (0)