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