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