Adding checksum to update scripts
This commit is contained in:
parent
61da9c72a6
commit
572185b9de
@ -17,4 +17,5 @@
|
|||||||
</tags>
|
</tags>
|
||||||
<maintainer>Christian Wolf</maintainer>
|
<maintainer>Christian Wolf</maintainer>
|
||||||
<targetplatform name="joomla" version="4[.].*"/>
|
<targetplatform name="joomla" version="4[.].*"/>
|
||||||
|
$SUMS
|
||||||
</update>
|
</update>
|
||||||
|
@ -21,8 +21,11 @@ fi
|
|||||||
|
|
||||||
cp slt.tar.gz "$outname"
|
cp slt.tar.gz "$outname"
|
||||||
|
|
||||||
|
sha=$(sha512sum slt.tar.gz | cut -d' ' -f1)
|
||||||
|
|
||||||
export VERSION="$TOTRELEASE"
|
export VERSION="$TOTRELEASE"
|
||||||
export FORMAT='tar.gz'
|
export FORMAT='tar.gz'
|
||||||
export DOWNLOAD_URL="\$DL_PREFIX/$filename"
|
export DOWNLOAD_URL="\$DL_PREFIX/$filename"
|
||||||
|
export SUMS="<sha512>$sha</sha512>"
|
||||||
|
|
||||||
cat res/update.template | envsubst > "$xmlname"
|
cat res/update.template | envsubst > "$xmlname"
|
||||||
|
Loading…
Reference in New Issue
Block a user