Sha256: 1ac230aee98818794c47b75c55eb8a85e2846dd4c7544eb342db6c2c9e2e6fb0
Contents?: true
Size: 372 Bytes
Versions: 37
Compression:
Stored size: 372 Bytes
Contents
#!/bin/bash set -e usage() { echo "Required env var '$1' is missing"; exit 1; } [ -z "${ARTIFACT_REPOSITORY_TOKEN}" ] && usage "ARTIFACT_REPOSITORY_TOKEN" ; [ -z "${LIB_VERSION}" ] && usage "LIB_VERSION" ; mkdir ~/.gem echo ":rubygems_api_key: ${ARTIFACT_REPOSITORY_TOKEN}" > ~/.gem/credentials chmod 0600 ~/.gem/credentials gem push vgs_api_client-${LIB_VERSION}.gem
Version data entries
37 entries across 37 versions & 1 rubygems