From a396aa43bf3a8942f198ad61d72a9ed4b43d9df7 Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Tue, 2 Aug 2022 20:35:29 +0300 Subject: [PATCH] added mod_build key int module.json --- pack.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pack.sh b/pack.sh index 3640712..f8aba24 100755 --- a/pack.sh +++ b/pack.sh @@ -20,9 +20,12 @@ else exit 9 fi +mod_build=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:10} + echo "{ \"name\":\"${mod_name}\", \"version\":\"${mod_version}\", + \"build\":\"${mod_build}\", \"title\":\"${mod_title}\", \"hash\":\"${md5}\" }" > module.json