calculate checksums
This commit is contained in:
parent
583a291fca
commit
0c226abdc5
|
@ -155,6 +155,24 @@ rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# generate checksum files
|
||||||
|
sha256sum *.tar.bz2 >> checksums.txt
|
||||||
|
cd RPM
|
||||||
|
sha256sum *.rpm >> ../checksums.txt
|
||||||
|
cd ../Debian
|
||||||
|
sha256sum *.deb >> ../checksums.txt
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# generate checksum files for LAM Pro
|
||||||
|
cd LAMPro
|
||||||
|
sha256sum *.tar.bz2 >> checksums.txt
|
||||||
|
cd RPM
|
||||||
|
sha256sum *.rpm >> ../checksums.txt
|
||||||
|
cd ../Debian
|
||||||
|
sha256sum *.deb >> ../checksums.txt
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
rm -r lam-packaging
|
rm -r lam-packaging
|
||||||
rm getVersion
|
rm getVersion
|
||||||
|
|
Loading…
Reference in New Issue