Sha256: d6dcc5e4c16b097ae7dbff8a4895ce1e55b6a27f6cd4191573b8d2b70c0c57d4

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

#!/bin/bash

full_path=$(realpath "$0")
dir_path=$(dirname "$full_path")

. "$dir_path/sdk_specs.sh"

# shellcheck disable=SC2154
if cd "$dir_path/.." && gem build "$ff_ruby_sdk.gemspec"; then

  if echo "Please enter your 'sudo' password if asked" && sudo gem install "$ff_ruby_sdk"; then

    gem push "$ff_ruby_sdk-$ff_ruby_sdk_version.gem"
  else

    exit 1
  fi
else

  exit 1
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ff-ruby-server-sdk-1.0.0 scripts/publish.sh
ff-ruby-server-sdk-0.0.2 scripts/publish.sh