This repository has been archived by the owner. It is now read-only.
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (10 sloc) 560 Bytes
git clone repo
git clone targetrepo
cd repo
officalLatest=$(git tag | tail -1)
cd ../targetrepo
containerLatest=$(cat Dockerfile | grep "ENV MURMUR_VERSION=" | sed 's/ENV MURMUR_VERSION=//')
[ ${officalLatest} != ${containerLatest} ] && [ $(../hub/bin/hub issue | grep "Update to latest murmur version ${officalLatest}" | wc -l) -eq 0 ] && ../hub/bin/hub issue create -m "Update to latest murmur version ${officalLatest}"
cd ..
rm -rf repo targetrepo