on-strum/ruby-on-strum-healthcheck

View on GitHub
.circleci/scripts/set_publisher_credentials.sh

Summary

Maintainability
Test Coverage
#!/bin/sh
set -e
set +x
mkdir -p ~/.gem

cat << EOF > ~/.gem/credentials
---
:rubygems_api_key: ${RUBYGEMS_API_KEY}
EOF

chmod 0600 ~/.gem/credentials
set -x