openwisp-monitoring: align PKG_SOURCE_VERSION with PKG_VERSION
authorGagan Deep <pandafy.dev@gmail.com>
Thu, 21 Nov 2024 19:33:59 +0000 (01:03 +0530)
committerTianling Shen <cnsztl@gmail.com>
Fri, 22 Nov 2024 14:08:19 +0000 (22:08 +0800)
Previously, `PKG_SOURCE_VERSION` in the Makefile was incorrectly
set to `0.1.1` instead of tracking `PKG_VERSION`. This mismatch
caused compilation issues for the package.

This fix ensures `PKG_SOURCE_VERSION` dynamically aligns with
`PKG_VERSION` to prevent future discrepancies.

Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
admin/openwisp-monitoring/Makefile

index 65ed47ac67aeaf8de48179c37214141b67072f7b..702295fd4b864de81d5a0d43cbad2eb431e27c4c 100644 (file)
@@ -6,16 +6,16 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openwisp-monitoring
 PKG_VERSION:=0.2.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_MAINTAINER:=Federico Capoano <support@openwisp.io>
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=LICENSE
 
 PKG_SOURCE_URL:=https://github.com/openwisp/openwrt-openwisp-monitoring.git
-PKG_MIRROR_HASH:=86990e9c09b3917dd1e335f3152e0508838ad2632701c33a407d06c5dcad92d0
+PKG_MIRROR_HASH:=aad91b9a1cd08e23782a4f55e27c6af5502f1dff1e91cf10bcd6d99d939641f0
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=0.1.1
+PKG_SOURCE_VERSION:=$(PKG_VERSION)
 PKGARCH:=all
 
 include $(INCLUDE_DIR)/package.mk