OpenC3/cosmos

View on GitHub
scripts/release/extract_gems.sh

Summary

Maintainability
Test Coverage
#!/bin/sh
set -eux

id=$(docker create $OPENC3_REGISTRY/openc3inc/openc3-base:$OPENC3_RELEASE_VERSION)
docker cp $id:/openc3/gems/. .
docker rm -v $id

id=$(docker create $OPENC3_REGISTRY/openc3inc/openc3-cosmos-init:$OPENC3_RELEASE_VERSION)
docker cp $id:/openc3/plugins/gems/. .
docker rm -v $id

ls *.gem