added mod_build key int module.json
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
aa9bce617a
commit
a396aa43bf
3
pack.sh
3
pack.sh
|
@ -20,9 +20,12 @@ else
|
||||||
exit 9
|
exit 9
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mod_build=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:10}
|
||||||
|
|
||||||
echo "{
|
echo "{
|
||||||
\"name\":\"${mod_name}\",
|
\"name\":\"${mod_name}\",
|
||||||
\"version\":\"${mod_version}\",
|
\"version\":\"${mod_version}\",
|
||||||
|
\"build\":\"${mod_build}\",
|
||||||
\"title\":\"${mod_title}\",
|
\"title\":\"${mod_title}\",
|
||||||
\"hash\":\"${md5}\"
|
\"hash\":\"${md5}\"
|
||||||
}" > module.json
|
}" > module.json
|
||||||
|
|
Loading…
Reference in New Issue