added mod_build key int module.json
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pavel Dmitriev 2022-08-02 20:35:29 +03:00
parent aa9bce617a
commit a396aa43bf
1 changed files with 3 additions and 0 deletions

View File

@ -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