Sha256: ffabe0556a8e0c802dd7e83ea031bc7fd2e3a3a818c39b1f623ff3581921e7f9
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
#!/bin/sh GEMFILE_LOCK_PATH=Gemfile.lock GEM_VERSION_PATH=GEM_VERSION gem_versio=$(cat "${GEM_VERSION_PATH}") expected_line="opentracing-instrumentation (${gem_versio})" grep "${expected_line}" "${GEMFILE_LOCK_PATH}" > /dev/null exit_code=$? if [ $exit_code != 0 ]; then echo "Update gem version ${GEMFILE_LOCK_PATH} and commit it" > /dev/stderr exit 1 else echo "Gem version into ${GEMFILE_LOCK_PATH} valid" > /dev/stdout fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opentracing-instrumentation-0.2.1 | bin/check_gemfile_lock |