Bump version to 1.0.2

* Modify Makefile to extract the version from the mainscript

* Bump version to 1.0.2
This commit is contained in:
2025-06-01 00:23:26 -04:00
parent 80304f40d1
commit 1d642d41b2
3 changed files with 76 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
# Package details
PACKAGE_NAME := pgmon
VERSION := 1.0.1
SCRIPT := src/$(PACKAGE_NAME).py
VERSION := $(shell grep -m 1 '^VERSION = ' "$(SCRIPT)" | sed -ne 's/.*"\(.*\)".*/\1/p')
# Where packages are built
BUILD_DIR := build