From d785e17f9518c414134ce00585f1d83c0698090c Mon Sep 17 00:00:00 2001 From: "Luke D. Jones" Date: Sun, 12 Jan 2025 18:52:45 +1300 Subject: [PATCH] Allow version in makefile to have '-rc*' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9f3b58dc..fa48c4db 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := $(shell /usr/bin/grep -Pm1 'version = "(\d+.\d+.\d+)"' Cargo.toml | cut -d'"' -f2) +VERSION := $(shell /usr/bin/grep -Pm1 'version = "(\d+.\d+.\d+.*)"' Cargo.toml | cut -d'"' -f2) INSTALL = install INSTALL_PROGRAM = ${INSTALL} -D -m 0755