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.alpha202305231040 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305231004 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305221655 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305221649 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305221026 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305192205 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305191937 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305191808 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305191450 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305161415 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305161411 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305161408 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305040313 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031634 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031632 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031625 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031615 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031603 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031513 scripts/publish/run.sh
vgs_api_client-0.0.1.alpha202305031332 scripts/publish/run.sh