Add md5 checksum to groups tarball publisher

Generate md5 checksum for every groups distribution tarball to
help tracking changes of release tarballs like groups-latest.tar.gz

Change-Id: I814e30284f8eefbab24ca30a94c33efa2b905e69
This commit is contained in:
Marton Kiss 2014-06-02 15:48:33 +02:00
parent 6e88e9ada2
commit 0cc733349b

View File

@ -49,6 +49,11 @@
tar -czf groups-$PROJECT_VER.tar.gz dist/
cp groups-$PROJECT_VER.tar.gz tarballs/groups-latest.tar.gz
mv groups-$PROJECT_VER.tar.gz tarballs/
# generate md5 checksums
cd tarballs
md5sum groups-$PROJECT_VER.tar.gz > groups-$PROJECT_VER.md5
sed s/$PROJECT_VER/latest/g groups-$PROJECT_VER.md5 > groups-latest.md5
cd ..
publishers:
- console-log
- coverage-log
@ -63,3 +68,7 @@
source: 'tarballs/*.tar.gz'
keep-hierarchy: false
copy-after-failure: false
- target: 'tarballs/groups/'
source: 'tarballs/*.md5'
keep-hierarchy: false
copy-after-failure: false