Sha256: db0a8586cde9977de732e28240b9be24d6f45d03aeeea5dfeed1ac491dd07357

Contents?: true

Size: 385 Bytes

Versions: 744

Compression:

Stored size: 385 Bytes

Contents

#!/bin/bash

set -e

usage() { echo "Required env var '$1' is missing"; exit 1; }

[ -z "${ARTIFACT_REPOSITORY_TOKEN}" ] && usage "ARTIFACT_REPOSITORY_TOKEN" ;

LIB_VERSION=${LIB_VERSION:-0.0.1.alpha$(date "+%Y%m%d%H%M")}

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

744 entries across 744 versions & 1 rubygems

Version Path
vgs_api_client-0.0.1.alpha202204202050 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204201457 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204201454 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204201434 scripts/publish/run.sh