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.alpha202204271530 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204271525 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204271518 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204271358 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204271354 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204271252 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261551 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261547 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261542 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261528 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261525 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261457 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261453 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261442 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261432 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261412 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261345 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261342 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261341 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202204261130 scripts/publish/run.sh